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

Update upgrade

This commit is contained in:
ericgaspar 2021-08-10 00:03:20 +02:00
parent 20c10be95e
commit c1fd4d9c26
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -52,6 +52,11 @@ upgrade_type=$(ynh_check_app_version_changed)
#================================================= #=================================================
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
if [ -z "$admin" ]; then
admin="default_value"
ynh_app_setting_set --app=$app --key=admin --value=$admin
fi
# Cleaning legacy permissions # Cleaning legacy permissions
if ynh_legacy_permissions_exists; then if ynh_legacy_permissions_exists; then
ynh_legacy_permissions_delete_all ynh_legacy_permissions_delete_all