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

Update install

This commit is contained in:
likeitneverwentaway 2016-06-27 10:29:34 +02:00 committed by GitHub
parent bde1d5cbfa
commit dfb4140c1c

View file

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