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

Merge pull request #21 from YunoHost-Apps/testing

Few changes
This commit is contained in:
yalh76 2019-02-05 21:31:07 +01:00 committed by GitHub
commit c4084eb8ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 6 deletions

View file

@ -48,12 +48,10 @@ Depending of the configuration, the app be used by multiple users
* x86-64b - [![Build Status](https://ci-apps.yunohost.org/ci/logs/writefreely%20%28Community%29.svg)](https://ci-apps.yunohost.org/ci/apps/writefreely/)
* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/writefreely%20%28Community%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/writefreely/) **Not supported**
* Jessie x86-64b - [![Build Status](https://ci-stretch.nohost.me/ci/logs/writefreely%20%28Community%29.svg)](https://ci-stretch.nohost.me/ci/apps/writefreely/)
* Testing x86-64b - [![Build Status](https://ci-apps-unstable.yunohost.org/ci/logs/writefreely%20%28Community%29%20%28testing%29.svg)](https://ci-apps-unstable.yunohost.org/ci/apps/writefreely/)
* Unstable x86-64b - [![Build Status](https://ci-apps-unstable.yunohost.org/ci/logs/writefreely%20%28Community%29%20%28unstable%29.svg)](https://ci-apps-unstable.yunohost.org/ci/apps/writefreely/)
## Limitations
* Any known limitations.
* No known limitations.
## Links

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.8.1~ynh1",
"version": "0.8.1~ynh2",
"url": "https://writefreely.org",
"license": "free",
"maintainer": {

View file

@ -120,7 +120,8 @@ ynh_systemd_action --action=start --service_name=$app
#=================================================
# STORE THE CONFIG FILE CHECKSUM
#=================================================
fy the checksum of a file, stored by `ynh_store_file_checksum` in the install script.
### 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"
# Recalculate and store the checksum of the file for the next upgrade.

View file

@ -77,7 +77,7 @@ app=$YNH_APP_INSTANCE_NAME
### If the app uses nginx as web server (written in HTML/PHP in most cases), the final path should be "/var/www/$app".
### If the app provides an internal web server (or uses another application server such as uwsgi), the final path should be "/opt/yunohost/$app"
final_path="/var/www/$app"
final_path=/var/www/$app
test ! -e "$final_path" || ynh_die "This path already contains a folder"
# Normalize the url path syntax