1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/aeneria_ynh.git synced 2024-09-03 18:06:15 +02:00

Fix upgrade script

This commit is contained in:
Simon Mellerin 2024-01-05 11:22:10 +01:00
parent c3af24f747
commit 06b167fe13

View file

@ -33,7 +33,7 @@ fi
# now need to be installed under its own domain.
# If the app is currently installed under a path, we warn the admin
# that he should move the app under its own domain
if [ -n "$path" ]; then
if [ "$path" != "/" ]; then
ynh_die --message="Since version 2.0.0, $app need to be installed under its own domain. \
Before upgrading, change $app URL: delete the path and switch to a new domain if needed."
fi