From 4693c7065aba9b0c29dbfcf759e07916b2ca2ca0 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 15:00:34 +0200 Subject: [PATCH] Update install --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 4bfcb82..af4536f 100755 --- a/scripts/install +++ b/scripts/install @@ -42,10 +42,10 @@ yunohost service add $app --description="Media request tool" --log="/var/log/$ap #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template="../conf/database.json" --destination="$install_dir/database.json" +ynh_add_config --template="../conf/database.json" --destination="$data_dir/database.json" -chmod 650 "$install_dir/database.json" -chown $app:$app "$install_dir/database.json" +chmod 650 "$data_dir/database.json" +chown $app:$app "$data_dir/database.json" #================================================= # GENERIC FINALIZATION