1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jappix_ynh.git synced 2024-09-03 19:26:19 +02:00

Update install

This commit is contained in:
frju365 2017-03-05 21:01:04 +01:00 committed by GitHub
parent 4b318a7b2a
commit 112cff8bfd

View file

@ -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