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:
parent
c761e50feb
commit
ce38d103d2
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue