Browse Source
Merge pull request #264 from YunoHost-Apps/parentheses
Don't use parentheses
pull/284/head
Kayou
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
scripts/upgrade
|
|
@ -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) |
|
|
|