From 60a8416ebf20d1918b168448e03842cb677d0a8f Mon Sep 17 00:00:00 2001 From: rodinux Date: Mon, 25 Dec 2023 06:19:52 +0100 Subject: [PATCH] try fix install --- scripts/install | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index d848767..98b3599 100644 --- a/scripts/install +++ b/scripts/install @@ -46,16 +46,15 @@ chmod 644 "/etc/cron.d/$app" ynh_script_progression --message="Adding a configuration file..." --weight=5 # Install configuration files -ynh_add_config --template="config.local.user.php" --destination="$data_dir/data/config.local.user.php" - -chmod 650 "$data_dir/data/config.local.user.php" -chown $app:$app "$data_dir/data/config.local.user.php" - ynh_add_config --template="config.local.php" --destination="$install_dir/config.local.php" chmod 650 "$install_dir/config.local.php" chown $app:$app "$install_dir/config.local.php" +ynh_add_config --template="config.local.user.php" --destination="$data_dir/data/config.local.user.php" + +chmod 650 "$data_dir/data/config.local.user.php" +chown $app:$app "$data_dir/data/config.local.user.php" #================================================= # END OF SCRIPT