1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/writefreely_ynh.git synced 2024-09-03 20:36:02 +02:00

Upgrade to v0.8.0

This commit is contained in:
Yalh 2019-01-25 18:16:43 +01:00 committed by yalh76
parent 7a6a137e83
commit 58c5a5ff0c
4 changed files with 7 additions and 5 deletions

View file

@ -13,7 +13,7 @@ Can be run as Single User Blog or Multi User Instance.
Each User can be limited from 1 to unlimited blogs.
**Shipped version:** v0.7.1
**Shipped version:** v0.8.0
## Licence

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/writeas/writefreely/releases/download/v0.7.1/writefreely_0.7.1_linux_amd64.tar.gz
SOURCE_SUM=c1083c6d35f3e4b5119da882bd30b6f5f689c7b0e19ba59bc10cf9d31ed66df9
SOURCE_URL=https://github.com/writeas/writefreely/releases/download/v0.8.0/writefreely_0.8.0_linux_amd64.tar.gz
SOURCE_SUM=ed1020692bdb96e3d3fc52605d089f26153edfb5dc2822b4da03fcc351c1e841
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=false

View file

@ -6,7 +6,7 @@
"en": "Write Freely is free and open source software for starting a minimalist, federated blog — or an entire community.",
"fr": "Write Freely est un logiciel gratuit et à code source ouvert permettant de créer un blog fédéré minimaliste ou une communauté entière."
},
"version": "0.7.1~ynh2",
"version": "0.8.0~ynh2",
"url": "https://writefreely.org",
"license": "free",
"maintainer": {

View file

@ -121,9 +121,11 @@ ynh_system_user_create $app
#=================================================
# SPECIFIC UPGRADE
#=================================================
# ...
# MAKE UPGRADE
#=================================================
( cd $final_path && $final_path/writefreely --migrate )
### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script.
### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it.
ynh_backup_if_checksum_is_different "$final_path/config.ini"