1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Don't use parentheses

This commit is contained in:
Kay0u 2020-03-21 01:38:11 +01:00
parent afbe4378c1
commit 82194e82a7
No known key found for this signature in database
GPG key ID: 7FF262C033518333

View file

@ -292,7 +292,7 @@ then
# Upgrade Nextcloud (SUCCESS = 0, UP_TO_DATE = 3)
exec_occ maintenance:mode --off
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
current_version=$(grep OC_VersionString "$final_path/version.php" | cut -d\' -f2)