Selaa lähdekoodia

Check that completion file exists

Bob Mottram 9 vuotta sitten
vanhempi
commit
bcd762e8dd
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4
    0
      src/freedombone-selector

+ 4
- 0
src/freedombone-selector Näytä tiedosto

59
 
59
 
60
 function app_is_installed {
60
 function app_is_installed {
61
 	app_name="$1"
61
 	app_name="$1"
62
+	if [ ! -f $COMPLETION_FILE ]; then
63
+		echo "0"
64
+	fi
65
+
62
 	if ! grep -Fxq "install_${app_name}" $COMPLETION_FILE; then
66
 	if ! grep -Fxq "install_${app_name}" $COMPLETION_FILE; then
63
 		echo "0"
67
 		echo "0"
64
 	else
68
 	else