From ad2abee558c25bd7043550870e48bbf2beebe264 Mon Sep 17 00:00:00 2001 From: Dennis ten Hoove Date: Fri, 21 Jun 2024 14:35:00 +0200 Subject: [PATCH] And not or --- arkdep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arkdep b/arkdep index cba5491..0da69f9 100755 --- a/arkdep +++ b/arkdep @@ -863,7 +863,7 @@ deploy () { trap 'echo "User interupt received, canceling cleanup step"; exit 4' INT TERM # Check if there is an update script available - if tar -xf $arkdep_dir/cache/${data[0]}.tar.${data[1]} -C $arkdep_dir/cache/ ./${data[0]}-update.sh 2> /dev/null || [[ ! -n $ARKDEP_ROOT ]]; then + if tar -xf $arkdep_dir/cache/${data[0]}.tar.${data[1]} -C $arkdep_dir/cache/ ./${data[0]}-update.sh 2> /dev/null && [[ ! -n $ARKDEP_ROOT ]]; then printf '\e[1;34m-->\e[0m\e[1m Running update script\e[0m\n' # Run the migration script if provided (source $arkdep_dir/cache/${data[0]}-update.sh)