From 112cff8bfd3b7e3edd5c6910a3b25fd7cb5553fc Mon Sep 17 00:00:00 2001 From: frju365 Date: Sun, 5 Mar 2017 21:01:04 +0100 Subject: [PATCH] Update install --- scripts/install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 36e2a4c..cd5dbcf 100644 --- a/scripts/install +++ b/scripts/install @@ -24,8 +24,10 @@ wget -q -O jappix.tar.gz "$JAPPIX_SOURCE_URL" # Copy files to the right place final_path="/var/www/${app}" +ynh_app_setting_set $app final_path $final_path +SETUP_SOURCE # Télécharge la source, décompresse et copie dans $final_path + sudo mkdir -p "${final_path}/store/conf" -sudo tar -C "$final_path" -xf jappix.tar.gz --strip-components 1 sudo cp ../conf/*.xml "${final_path}/store/conf/" # Set permissions to jappix directory