test for first install differently

This commit is contained in:
Erica Portnoy 2020-07-01 19:18:13 -07:00
parent 02dbd3eeb8
commit 7c683ba6c5
2 changed files with 1 additions and 2 deletions

View file

@ -1 +0,0 @@
snapctl set first-install="true"

View file

@ -1,7 +1,7 @@
#!/bin/sh -e
snapctl get first-install
if [ "$?" -eq "true"]; then
if [ "$?" -eq "1"]; then
snapctl set first-install="false"
exit 0
fi