mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
make update script failproof
This commit is contained in:
parent
c7d5807659
commit
963f802e3c
@ -43,9 +43,15 @@ case "$choice" in
|
||||
fi
|
||||
;;
|
||||
"Update Nextcloud")
|
||||
if network_ok
|
||||
if [ -f $SCRIPTS/update.sh ]
|
||||
then
|
||||
run_static_script update
|
||||
bash $SCRIPTS/update.sh
|
||||
else
|
||||
if network_ok
|
||||
then
|
||||
download_static_script update
|
||||
bash $SCRIPTS/update.sh
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user