mirror of
https://github.com/YunoHost-Apps/UMS_ynh.git
synced 2024-10-01 13:35:01 +02:00
Restore & backup process
This commit is contained in:
parent
0e4daa366d
commit
cd25bc4557
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,7 @@ path_url=/
|
||||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
vlc_required=$YNH_APP_ARG_VLC
|
vlc_required=$YNH_APP_ARG_VLC
|
||||||
|
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
if [ "$vlc_required" -eq 1 ] ; then
|
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=domain --value=$domain
|
||||||
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
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
|
# STANDARD MODIFICATIONS
|
||||||
|
|
Loading…
Add table
Reference in a new issue