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