mirror of
https://github.com/YunoHost-Apps/collabora_ynh.git
synced 2024-09-03 18:16:25 +02:00
Die with message if upgrade is impossible (#58)
This commit is contained in:
parent
9d7504badd
commit
a7f096cdf7
1 changed files with 5 additions and 0 deletions
|
@ -27,6 +27,11 @@ nextcloud_domain=$(ynh_app_setting_get --app="$app" --key=nextcloud_domain)
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=2
|
ynh_script_progression --message="Ensuring downward compatibility..." --weight=2
|
||||||
|
|
||||||
|
if ynh_compare_current_package_version --comparison le --version 6.4.10~ynh2
|
||||||
|
then
|
||||||
|
ynh_die --message="Upgrade from version 6.4.10 is not possible. You must uninstall and reinstall Collabora package manually"
|
||||||
|
fi
|
||||||
|
|
||||||
# If db_name doesn't exist, create it
|
# If db_name doesn't exist, create it
|
||||||
if [ -z "$path_url" ]; then
|
if [ -z "$path_url" ]; then
|
||||||
path_url="/"
|
path_url="/"
|
||||||
|
|
Loading…
Reference in a new issue