diff --git a/check_process b/check_process index 26f0c64..527981d 100644 --- a/check_process +++ b/check_process @@ -12,6 +12,8 @@ setup_private=1 setup_public=1 upgrade=1 + #4.8.1 + upgrade=1 from_commit=ca1c1238a8d8f1dc89c092216491d3ec9464382c backup_restore=1 multi_instance=1 change_url=1 @@ -19,6 +21,6 @@ Email= anmol@datamol.org Notification=change ;;; Upgrade options - ; commit=CommitHash - name=Name and date of the commit. + ; commit=ca1c1238a8d8f1dc89c092216491d3ec9464382c + name=4.8.1 manifest_arg=domain=DOMAIN&path=PATH&is_public=1& diff --git a/scripts/upgrade b/scripts/upgrade index b908949..2c58ded 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -53,8 +53,10 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 -### If nobody installed your app before 4.1, -### then you may safely remove these lines +if [ -z "$admin" ] then + admin="default_value"; + ynh_app_setting_set --app=$app --key=admin --value=$admin +fi # Cleaning legacy permissions if ynh_legacy_permissions_exists; then