mirror of
https://github.com/YunoHost-Apps/lemmy_ynh.git
synced 2024-09-03 19:36:09 +02:00
Fix upgrade
This commit is contained in:
parent
839dfac3a1
commit
b3a257d7e0
1 changed files with 5 additions and 3 deletions
|
@ -76,14 +76,16 @@ if ynh_legacy_permissions_exists; then
|
||||||
ynh_app_setting_delete --app=$app --key=is_public
|
ynh_app_setting_delete --app=$app --key=is_public
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ynh_app_setting_delete --app=$app --key=random
|
|
||||||
ynh_app_setting_delete --app=$app --key=port_iframely
|
# Removing previously installed iframely
|
||||||
if ynh_exec_warn_less yunohost service status $app >/dev/null
|
if ynh_exec_warn_less yunohost service status $app >/dev/null
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Removing $app-iframely service integration..."
|
ynh_script_progression --message="Removing $app-iframely service integration..."
|
||||||
yunohost service remove $app-iframely
|
yunohost service remove $app-iframely
|
||||||
|
ynh_app_setting_delete --app=$app --key=random
|
||||||
|
ynh_app_setting_delete --app=$app --key=port_iframely
|
||||||
|
ynh_remove_systemd_config --service=$app-iframely
|
||||||
fi
|
fi
|
||||||
ynh_remove_systemd_config --service=$app-iframely
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CREATE DEDICATED USER
|
# CREATE DEDICATED USER
|
||||||
|
|
Loading…
Add table
Reference in a new issue