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