From c071139a87e7120005c73476039c3e4ac62b5ecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 27 Dec 2023 13:48:16 +0100 Subject: [PATCH] cleaning --- scripts/install | 4 ++-- scripts/upgrade | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index b3d1723..bc59eb9 100644 --- a/scripts/install +++ b/scripts/install @@ -89,10 +89,10 @@ ynh_local_curl "/install.php?language=$applanguage" "install=true" "dbhost=127.0 ynh_script_progression --message="Configuring Piwigo..." # Change local config -ynh_add_config --template="../conf/config.inc.php" --destination="$install_dir/local/config/config.inc.php" +ynh_add_config --template="config.inc.php" --destination="$install_dir/local/config/config.inc.php" # Setup database in local/config/database.inc.php -ynh_add_config --template="../conf/database.inc.php" --destination="$install_dir/local/config/database.inc.php" +ynh_add_config --template="database.inc.php" --destination="$install_dir/local/config/database.inc.php" chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" diff --git a/scripts/upgrade b/scripts/upgrade index 451c358..572a26f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -102,10 +102,10 @@ fi ynh_script_progression --message="Configuring Piwigo..." # Change local config -ynh_add_config --template="../conf/config.inc.php" --destination="$install_dir/local/config/config.inc.php" +ynh_add_config --template="config.inc.php" --destination="$install_dir/local/config/config.inc.php" # Setup database in local/config/database.inc.php -ynh_add_config --template="../conf/database.inc.php" --destination="$install_dir/local/config/database.inc.php" +ynh_add_config --template="database.inc.php" --destination="$install_dir/local/config/database.inc.php" chmod 750 "$install_dir" chmod -R o-rwx "$install_dir"