mirror of
https://github.com/YunoHost-Apps/ofbiz_ynh.git
synced 2024-09-03 19:46:33 +02:00
Upgrade: cleanup admin key
This commit is contained in:
parent
e7eeed3a29
commit
49f05e23c9
1 changed files with 10 additions and 0 deletions
|
@ -15,6 +15,16 @@ ynh_script_progression --message="Stopping $app's systemd service..."
|
|||
|
||||
ynh_systemd_action --service_name="$app" --action="stop" --log_path="systemd" --line_match="Stopped OFBiz Service"
|
||||
|
||||
#=================================================
|
||||
# ENSURE DOWNWARD COMPATIBILITY
|
||||
#=================================================
|
||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||
|
||||
# Remove legacy admin key
|
||||
if [ -n "${admin:-}" ]; then
|
||||
ynh_app_setting_delete --app="$app" --key=admin
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue