From bebba8ecfcaccf12f75bf3a71fdb139ee44adc8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 23 Oct 2023 23:30:46 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 4ab944a..6471820 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -72,17 +72,10 @@ ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app" chown root: "/etc/cron.d/$app" chmod 644 "/etc/cron.d/$app" -#================================================= -# CONFIGURE CASTOPOD DATABASE -#================================================= -ynh_script_progression --message="Configuring Castopod database..." --weight=1 - -ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/v1.5.2.sql" - #================================================= # ADD CONFIGURE #================================================= -ynh_script_progression --message="Configuring Castopod..." --weight=1 +ynh_script_progression --message="Configuring $app..." --weight=1 ynh_add_config --template="../conf/.env.example" --destination="$install_dir/.env" chmod 600 $install_dir/.env