From 9ad81dc9b088428fb201cd6cdd4739464dbdd5b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 24 Nov 2023 22:17:25 +0100 Subject: [PATCH] Cleaning --- scripts/_common.sh | 2 -- scripts/upgrade | 8 ++++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 94c90e8..944a65e 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,8 +4,6 @@ # COMMON VARIABLES #================================================= -# dependencies used by the app - #================================================= # PERSONAL HELPERS #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index d3b6ec2..352e65a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,15 +38,15 @@ then done if ynh_compare_current_package_version --comparison eq --version 2022.09.01~ynh1 then - ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the Yunohost forum" + ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the YunoHost forum" fi if ynh_compare_current_package_version --comparison eq --version 2022.11.11~ynh1 then - ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the Yunohost forum" + ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the YunoHost forum" fi if ynh_compare_current_package_version --comparison eq --version 2023.01.11~ynh1 then - ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the Yunohost forum" + ynh_die --message="Sorry, your MinIO instance requires a complex manual migration. Please contact Limezy on the YunoHost forum" fi popd ynh_secure_remove --file="$data_dir" @@ -112,7 +112,7 @@ yunohost service add $app --description="A High Performance, Kubernetes Native O #================================================= ynh_script_progression --message="Updating a configuration file..." -ynh_add_config --template="../conf/.env" --destination="$install_dir/.env" +ynh_add_config --template=".env" --destination="$install_dir/.env" chmod 400 "$install_dir/.env" chown $app:$app "$install_dir/.env"