From cb4111af89cc3eaf6bee4ba164bc9a12669be8c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Mon, 26 Feb 2024 20:51:26 +0100 Subject: [PATCH] fix upgrade --- scripts/upgrade | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 8712741..b5962ba 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -68,14 +68,6 @@ chmod -R 775 $install_dir/store $install_dir/cache #================================================= ynh_script_progression --message="Updating a configuration file..." --weight=1 -if [ $database = "mysql" ]; then - db_type=0 -#REMOVEME? db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) -elif [ $database = "postgresql" ]; then - db_type=1 -#REMOVEME? db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd) -fi - ynh_add_config --template="htconfig.sample.php" --destination="$install_dir/.htconfig.php" chmod 600 "$install_dir/.htconfig.php"