From a21a18dba8aa6fe35fdbfdc9671045db139d3ab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 3 Nov 2023 20:06:56 +0100 Subject: [PATCH] cleaning --- scripts/install | 12 ------------ scripts/upgrade | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/scripts/install b/scripts/install index 2da872c..812e74c 100755 --- a/scripts/install +++ b/scripts/install @@ -36,18 +36,6 @@ ynh_add_config --template="cron" --destination="/etc/cron.d/$app" chown root: "/etc/cron.d/$app" chmod 644 "/etc/cron.d/$app" -#================================================= -# APP INITIAL CONFIGURATION -#================================================= -# ADD A CONFIGURATION -#================================================= -ynh_script_progression --message="Adding a configuration file..." --weight=1 - -ynh_add_config --template="database.php" --destination="$install_dir/application/config/database.php" - -chmod 650 "$install_dir/application/config/database.php" -chown $app:$app "$install_dir/application/config/database.php" - #================================================= # END OF SCRIPT #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 2eed8cd..a559a01 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,18 +38,6 @@ ynh_add_nginx_config ynh_use_logrotate --non-append -#================================================= -# RECONFIGURE THE APP (UPDATE CONF, APPLY MIGRATIONS...) -#================================================= -# UPDATE A CONFIG FILE -#================================================= -# ynh_script_progression --message="Updating a configuration file..." --weight=1 - -# ynh_add_config --template="some_config_file" --destination="$install_dir/some_config_file" - -# chmod 400 "$install_dir/some_config_file" -# chown $app:$app "$install_dir/some_config_file" - #================================================= # END OF SCRIPT #=================================================