From dfb4140c1c5602c58686d82a42251cab82d22026 Mon Sep 17 00:00:00 2001 From: likeitneverwentaway Date: Mon, 27 Jun 2016 10:29:34 +0200 Subject: [PATCH] Update install --- scripts/install | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index f563573..8040fd8 100644 --- a/scripts/install +++ b/scripts/install @@ -34,11 +34,8 @@ sudo yunohost app checkurl "${domain}${path}" -a "$app" \ # Copy source files src_path=/var/www/$app sudo mkdir -p $src_path -sudo wget -P "$src_path" https://github.com/Laverna/static-laverna/archive/gh-pages.zip -O "$src_path"/laverna.zip -sudo unzip "$src_path"/laverna.zip -d "$src_path" -sudo cp -R "$src_path"/static-laverna-gh-pages/* "$src_path" -sudo rm "$src_path"/laverna.zip -sudo rm -rf "$src_path"/static-laverna-gh-pages +sudo wget -P "$src_path" https://github.com/FoxUSA/OpenNote/releases/download/15.07/15.07.00.zip -O "$src_path"/note.zip +sudo unzip "$src_path"/note.zip -d "$src_path" # Set permissions to app files sudo chown -R root: $src_path