Check that completion file exists
This commit is contained in:
parent
8d24da1d0c
commit
bcd762e8dd
|
@ -59,6 +59,10 @@ function item_in_array {
|
|||
|
||||
function app_is_installed {
|
||||
app_name="$1"
|
||||
if [ ! -f $COMPLETION_FILE ]; then
|
||||
echo "0"
|
||||
fi
|
||||
|
||||
if ! grep -Fxq "install_${app_name}" $COMPLETION_FILE; then
|
||||
echo "0"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue