And not or
This commit is contained in:
parent
37db66d05a
commit
ad2abee558
1 changed files with 1 additions and 1 deletions
2
arkdep
2
arkdep
|
@ -863,7 +863,7 @@ deploy () {
|
||||||
trap 'echo "User interupt received, canceling cleanup step"; exit 4' INT TERM
|
trap 'echo "User interupt received, canceling cleanup step"; exit 4' INT TERM
|
||||||
|
|
||||||
# Check if there is an update script available
|
# 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'
|
printf '\e[1;34m-->\e[0m\e[1m Running update script\e[0m\n'
|
||||||
# Run the migration script if provided
|
# Run the migration script if provided
|
||||||
(source $arkdep_dir/cache/${data[0]}-update.sh)
|
(source $arkdep_dir/cache/${data[0]}-update.sh)
|
||||||
|
|
Loading…
Add table
Reference in a new issue