1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adminer_ynh.git synced 2024-09-03 18:06:06 +02:00
This commit is contained in:
ericgaspar 2021-08-02 07:29:36 +02:00
parent 60f5eef99c
commit f7dc042fdf
2 changed files with 8 additions and 4 deletions

View file

@ -12,6 +12,8 @@
setup_private=1 setup_private=1
setup_public=1 setup_public=1
upgrade=1 upgrade=1
#4.8.1
upgrade=1 from_commit=ca1c1238a8d8f1dc89c092216491d3ec9464382c
backup_restore=1 backup_restore=1
multi_instance=1 multi_instance=1
change_url=1 change_url=1
@ -19,6 +21,6 @@
Email= anmol@datamol.org Email= anmol@datamol.org
Notification=change Notification=change
;;; Upgrade options ;;; Upgrade options
; commit=CommitHash ; commit=ca1c1238a8d8f1dc89c092216491d3ec9464382c
name=Name and date of the commit. name=4.8.1
manifest_arg=domain=DOMAIN&path=PATH&is_public=1& manifest_arg=domain=DOMAIN&path=PATH&is_public=1&

View file

@ -53,8 +53,10 @@ 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 nobody installed your app before 4.1, if [ -z "$admin" ] then
### then you may safely remove these lines 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