From d0d7072ac06b8c4c2b0179843607d0fa996dbb52 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 23 Aug 2023 22:58:55 +0200 Subject: [PATCH] fix --- scripts/remove | 4 ---- scripts/upgrade | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/remove b/scripts/remove index e101710..39d1cc8 100755 --- a/scripts/remove +++ b/scripts/remove @@ -29,10 +29,6 @@ ynh_remove_nginx_config # Remove the dedicated PHP-FPM config ynh_remove_fpm_config -#================================================= -# REMOVE VARIOUS FILES -#================================================= - # Remove a cron file ynh_secure_remove --file="/etc/cron.d/$app" diff --git a/scripts/upgrade b/scripts/upgrade index 7402b5b..0fe442e 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -63,7 +63,7 @@ chown -R $app:www-data "$install_dir" ynh_script_progression --message="Updating a configuration file..." --weight=1 # Create a dedicated PHP-FPM config -ynh_add_fpm_config --phpversion=$phpversion --usage=$fpm_usage --footprint=$fpm_footprint +ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint # Create a dedicated NGINX config ynh_add_nginx_config @@ -77,7 +77,7 @@ chmod 644 "/etc/cron.d/$app" #================================================= ynh_script_progression --message="Configuring Castopod database..." --weight=1 -ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < v1.5.2.sql +ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/v1.5.2.sql" #ynh_script_progression --message="Configuring Castopod..." --weight=1