From d3cafc2d5ed6066c6496501a49be39135f9010a0 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 28 May 2022 13:42:04 +0200 Subject: [PATCH] Fix --- scripts/_common.sh | 2 -- scripts/change_url | 1 + scripts/remove | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index ecd263f..91e6067 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,8 +4,6 @@ # COMMON VARIABLES #================================================= -# dependencies used by the app -pkg_dependencies="" #================================================= # PERSONAL HELPERS diff --git a/scripts/change_url b/scripts/change_url index 6578d13..375285e 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -106,6 +106,7 @@ fi #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 +domain=$new_domain ynh_add_config --template="../conf/config.example.yml" --destination="$final_path/config.yml" chmod 400 "$final_path/config.yml" diff --git a/scripts/remove b/scripts/remove index ab0fe79..05e85a4 100755 --- a/scripts/remove +++ b/scripts/remove @@ -17,7 +17,6 @@ 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) #=================================================