mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
Merge pull request #264 from YunoHost-Apps/parentheses
Don't use parentheses
This commit is contained in:
commit
f8a34b9b94
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ then
|
||||||
# Upgrade Nextcloud (SUCCESS = 0, UP_TO_DATE = 3)
|
# Upgrade Nextcloud (SUCCESS = 0, UP_TO_DATE = 3)
|
||||||
exec_occ maintenance:mode --off
|
exec_occ maintenance:mode --off
|
||||||
exec_occ upgrade \
|
exec_occ upgrade \
|
||||||
|| ([ $? -eq 3 ] || ynh_die --message="Unable to upgrade Nextcloud")
|
|| [ $? -eq 3 ] || ynh_die --message="Unable to upgrade Nextcloud"
|
||||||
|
|
||||||
# Get the new current version number
|
# Get the new current version number
|
||||||
current_version=$(grep OC_VersionString "$final_path/version.php" | cut -d\' -f2)
|
current_version=$(grep OC_VersionString "$final_path/version.php" | cut -d\' -f2)
|
||||||
|
|
Loading…
Add table
Reference in a new issue