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

Update restore

This commit is contained in:
frju365 2017-02-11 21:06:26 +01:00 committed by GitHub
parent c2a72fdf9d
commit a0821a1bba

View file

@ -19,13 +19,13 @@ source /usr/share/yunohost/helpers
app=$YNH_APP_INSTANCE_NAME
# Retrieve arguments
domain=$(ynh_app_setting_set $app domain)
domain=$(ynh_app_setting_get $app domain)
# Get old parameter of the app
domain=$(ynh_app_setting_set $app domain)
path=$(ynh_app_setting_set $app path)
user=$(ynh_app_setting_set $app allowed_users)
is_public=$(ynh_app_setting_set $app is_public)
domain=$(ynh_app_setting_get $app domain)
path=$(ynh_app_setting_get $app path)
user=$(ynh_app_setting_get $app allowed_users)
is_public=$(ynh_app_setting_get $app is_public)
final_path=/var/www/$app
# Check domain/path availability