1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grav_ynh.git synced 2024-09-03 19:16:01 +02:00

[fix] Use update zip for upgrading

Fixes #5
This commit is contained in:
tituspijean 2018-09-13 09:53:19 +02:00
parent 9d464b5dac
commit 540e1acf75
2 changed files with 8 additions and 2 deletions

6
conf/app-upgrade.src Normal file
View file

@ -0,0 +1,6 @@
SOURCE_URL=https://github.com/getgrav/grav/releases/download/1.5.1/grav-update-v1.5.1.zip
SOURCE_SUM=D1D1BD1937848F54A707778DCF315EB17D95A3D9094DCC4189F0189C4824FC7C
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=

View file

@ -76,7 +76,7 @@ path_url=$(ynh_normalize_url_path $path_url)
#=================================================
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source "$final_path"
ynh_setup_source "$final_path" "app-upgrade"
#=================================================
# NGINX CONFIGURATION