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-01-29 18:45:03 +01:00 committed by GitHub
parent 3032fef90c
commit cbbadbc67a

View file

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