From b32b88c32f42813c4dc09ad6e73d747e5b9fdede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 4 Oct 2023 19:23:59 +0200 Subject: [PATCH] cleaaning --- scripts/install | 8 ++++---- scripts/upgrade | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/install b/scripts/install index da8e855..9d16cbe 100755 --- a/scripts/install +++ b/scripts/install @@ -41,12 +41,12 @@ chmod 644 "/etc/cron.d/$app" #================================================= # ADD A CONFIGURATION #================================================= -ynh_script_progression --message="Adding a configuration file..." --weight=1 +#ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php" +#ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php" -chmod 400 "$install_dir/config.php" -chown $app:$app "$install_dir/config.php" +#chmod 400 "$install_dir/config.php" +#chown $app:$app "$install_dir/config.php" #================================================= # END OF SCRIPT diff --git a/scripts/upgrade b/scripts/upgrade index 584ac13..53ea719 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -48,12 +48,12 @@ ynh_add_nginx_config #================================================= # UPDATE A CONFIG FILE #================================================= -ynh_script_progression --message="Updating a configuration file..." --weight=1 +#ynh_script_progression --message="Updating a configuration file..." --weight=1 -ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php" +#ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php" -chmod 400 "$install_dir/config.php" -chown $app:$app "$install_dir/config.php" +#chmod 400 "$install_dir/config.php" +#chown $app:$app "$install_dir/config.php" #================================================= # START SYSTEMD SERVICE