1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/opentracker_ynh.git synced 2024-09-03 19:46:34 +02:00
This commit is contained in:
ericgaspar 2021-01-27 19:08:34 +01:00
parent f6f2ad68e6
commit 7fd1daf66f
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 2 additions and 13 deletions

View file

@ -28,7 +28,7 @@ ynh_print_info --message="Loading installation settings..."
app=$YNH_APP_INSTANCE_NAME
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
domain=$(ynh_app_setting_get --app=$app --key=domain)
port=$(ynh_app_setting_get --app=$app --key=port)
#=================================================
# DECLARE DATA AND CONF FILES TO BACKUP

View file

@ -25,20 +25,9 @@ ynh_abort_if_errors
ynh_script_progression --message="Loading installation settings..." --weight=1
app=$YNH_APP_INSTANCE_NAME
#domain=$(ynh_app_setting_get --app=$app --key=domain)
port=$(ynh_app_setting_get --app=$app --key=port)
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
#=================================================
# CHECK IF THE APP CAN BE RESTORED
#=================================================
# ynh_script_progression --message="Validating restoration parameters..." --weight=1
# ynh_webpath_available --domain=$domain \
# || ynh_die --message="Path not available: $domain"
# test ! -d $final_path \
# || ynh_die --message="There is already a directory: $final_path "
#=================================================
# RESTORE THE APP MAIN DIR
#=================================================