From abf992169b8c3e19348b1c8e950a4448ff315658 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 29 Oct 2023 08:47:03 +0100 Subject: [PATCH] cleaning --- check_process | 22 ---------------------- scripts/change_url | 2 +- scripts/install | 2 +- scripts/upgrade | 2 +- 4 files changed, 3 insertions(+), 25 deletions(-) delete mode 100644 check_process diff --git a/check_process b/check_process deleted file mode 100644 index aa80091..0000000 --- a/check_process +++ /dev/null @@ -1,22 +0,0 @@ -;; Test complet - ; Manifest - domain="domain.tld" - is_public=1 - admin="johnjohn" - password="1Strong-Password" - ; Checks - pkg_linter=1 - setup_sub_dir=0 - setup_root=1 - setup_nourl=0 - setup_private=1 - setup_public=1 - upgrade=1 - # upgrade=1 from_commit=CommitHash - backup_restore=1 - multi_instance=0 - port_already_use=0 - change_url=1 -;;; Options -Email= -Notification=none diff --git a/scripts/change_url b/scripts/change_url index 5661b26..bcb0b80 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -32,7 +32,7 @@ ynh_change_url_nginx_config #================================================= ynh_script_progression --message="Updating a configuration file..." -ynh_add_config --template="../conf/config.json" --destination="/etc/$app/config.json" +ynh_add_config --template="config.json" --destination="/etc/$app/config.json" chmod 650 "/etc/$app/config.json" chown $app:$app "/etc/$app/config.json" diff --git a/scripts/install b/scripts/install index ca1d009..7e0c2ca 100644 --- a/scripts/install +++ b/scripts/install @@ -51,7 +51,7 @@ yunohost service add $app --description="Web-based Game Server Management System #================================================= ynh_script_progression --message="Adding a configuration file..." -ynh_add_config --template="../conf/config.json" --destination="/etc/$app/config.json" +ynh_add_config --template="config.json" --destination="/etc/$app/config.json" chmod 650 "/etc/$app/config.json" chown $app:$app "/etc/$app/config.json" diff --git a/scripts/upgrade b/scripts/upgrade index 0e223e8..cb6689c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -49,7 +49,7 @@ yunohost service add $app --description="Web-based Game Server Management System #================================================= ynh_script_progression --message="Updating a configuration file..." -ynh_add_config --template="../conf/config.json" --destination="/etc/$app/config.json" +ynh_add_config --template="config.json" --destination="/etc/$app/config.json" chmod 650 "/etc/$app/config.json" chown $app:$app "/etc/$app/config.json"