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:40:43 +02:00 committed by GitHub
parent c761e50feb
commit ce38d103d2

View file

@ -31,11 +31,12 @@ ynh_app_setting_set "$app" is_public "$is_public"
sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|| ynh_die "Path not available: ${domain}${path}"
# Copy source files
# Download files
src_path=/var/www/$app
sudo mkdir -p $src_path
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"
sudo rm "$src_path"/note.zip
# Set permissions to app files
sudo chown -R root: $src_path