From 54f366c6ea9287042b283a1d45da18c2541bd1ee Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 29 Mar 2021 22:17:39 +0200 Subject: [PATCH] Fix --- check_process | 1 - scripts/install | 3 +-- scripts/upgrade | 6 +----- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/check_process b/check_process index cf586a4..47d4fda 100644 --- a/check_process +++ b/check_process @@ -14,7 +14,6 @@ upgrade=1 backup_restore=1 multi_instance=0 - port_already_use=0 change_url=0 ;;; Options Email= diff --git a/scripts/install b/scripts/install index 68b5271..c3ee073 100644 --- a/scripts/install +++ b/scripts/install @@ -69,7 +69,7 @@ ynh_script_progression --message="Installing dependencies..." --weight=9 #ynh_exec_warn_less apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 #ynh_install_extra_repo --repo="deb https://dl.bintray.com/crystal/deb all stable" --append -curl -fsSL https://crystal-lang.org/install.sh | bash -s -- --crystal=0.36 +ynh_exec_warn_less curl -fsSL https://crystal-lang.org/install.sh | bash -s -- --crystal=0.36 ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies @@ -133,7 +133,6 @@ popd || ynh_die ynh_script_progression --message="Modifying a config file..." ynh_add_config --template="../conf/config.yml" --destination="$final_path/config/config.yml" -ynh_store_file_checksum --file="$final_path/config/config.yml" #================================================= # SETUP SYSTEMD diff --git a/scripts/upgrade b/scripts/upgrade index 76e52be..1e734d1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -75,7 +75,7 @@ ynh_script_progression --message="Upgrading dependencies..." --weight=8 #ynh_exec_warn_less apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 #ynh_install_extra_repo --repo="deb https://dl.bintray.com/crystal/deb all stable" --append -curl -fsSL https://crystal-lang.org/install.sh | bash -s -- --crystal=0.36 +ynh_exec_warn_less curl -fsSL https://crystal-lang.org/install.sh | bash -s -- --crystal=0.36 ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies @@ -117,12 +117,8 @@ ynh_system_user_create --username=$app #================================================= ynh_script_progression --message="Modifying a config file..." --weight=3 -ynh_backup_if_checksum_is_different --file="$final_path/config/config.yml" - ynh_add_config --template="../conf/config.yml" --destination="$final_path/config/config.yml" -ynh_store_file_checksum --file="$final_path/config/config.yml" - #================================================= # SETUP SYSTEMD #=================================================