From 4355f0415cc5805593d42ced5fb5e4187e2f4707 Mon Sep 17 00:00:00 2001 From: Thatoo Date: Wed, 5 Jun 2019 23:19:49 +0200 Subject: [PATCH] Update install --- scripts/install | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index f884ffc..46e9a75 100755 --- a/scripts/install +++ b/scripts/install @@ -22,10 +22,9 @@ sudo yunohost app checkurl "${domain}${path}" -a "$app" \ # Retrieve sources and install them src_path=/var/www/$app sudo mkdir -p $src_path -url=$(curl -s https://api.github.com/repos/duniter/cesium/releases | grep "browser_" | grep "web" | head -1 | cut -d\" -f4) -wget -nc --quiet $url -P /tmp -sudo unzip -q /tmp/cesium-*-web.zip -d $src_path -sudo rm -f /tmp/cesium-*-web.zip + # Download, check integrity, uncompress and patch the source from app.src + ynh_script_progression --message="Setting up source files..." --time --weight=1 + ynh_setup_source --dest_dir=$src_path sudo chown -R www-data: $src_path # Modify Nginx configuration file and copy it to Nginx conf directory