From cd25bc4557be50eb2ffb1eab99dec9db020eb331 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Sun, 11 Apr 2021 09:18:55 +0200 Subject: [PATCH] Restore & backup process --- scripts/install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/install b/scripts/install index f2b2a60..95f9a6b 100755 --- a/scripts/install +++ b/scripts/install @@ -29,6 +29,7 @@ path_url=/ is_public=$YNH_APP_ARG_IS_PUBLIC vlc_required=$YNH_APP_ARG_VLC + app=$YNH_APP_INSTANCE_NAME if [ "$vlc_required" -eq 1 ] ; then @@ -53,6 +54,8 @@ ynh_script_progression --message="Storing installation settings..." --time --wei ynh_app_setting_set --app=$app --key=domain --value=$domain ynh_app_setting_set --app=$app --key=path --value=$path_url +#will be used when restoring +ynh_app_setting_set --app=$app --key=vlc --value=$vlc_required #================================================= # STANDARD MODIFICATIONS