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

Merge pull request #58 from YunoHost-Apps/testing

Testing
This commit is contained in:
yalh76 2019-06-04 08:19:46 +02:00 committed by GitHub
commit 84fecc6d5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -13,7 +13,7 @@ An open source, modern and powerful wiki app built on Node.js, Git and Markdown
**Wiki.js** require a dedicated **root domain**, eg. wikijs.domain.tld **Wiki.js** require a dedicated **root domain**, eg. wikijs.domain.tld
**Shipped version:** 2.0.0-beta.148 **Shipped version:** 2.0.0-beta.174
## Screenshots ## Screenshots

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/Requarks/wiki/releases/download/2.0.0-beta.148/wiki-js.tar.gz SOURCE_URL=https://github.com/Requarks/wiki/releases/download/2.0.0-beta.174/wiki-js.tar.gz
SOURCE_SUM=c8659cf57ea0b582aedc23c3c476a6d70603313834134bc8dbc7be2831e3e2c9 SOURCE_SUM=34001cda470c5154d4539871267418b849b8e15b0fbe8cf7ffdae92d12b88c5e
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false

View file

@ -6,7 +6,7 @@
"en": "An open source, modern and powerful wiki app built on Node.js, Git and Markdown.", "en": "An open source, modern and powerful wiki app built on Node.js, Git and Markdown.",
"fr": "Un wiki moderne et open source propulsé Node.js, Git et Markdown." "fr": "Un wiki moderne et open source propulsé Node.js, Git et Markdown."
}, },
"version": "2.0.0-beta.148~ynh1", "version": "2.0.0-beta.174~ynh1",
"url": "https://wiki.js.org/", "url": "https://wiki.js.org/",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"maintainer": { "maintainer": {

View file

@ -139,6 +139,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
# MODIFY A CONFIG FILE # MODIFY A CONFIG FILE
#================================================= #=================================================
ynh_backup_if_checksum_is_different --file="$final_path/config.yml"
cp -f ../conf/config.sample.yml "$final_path/config.yml" cp -f ../conf/config.sample.yml "$final_path/config.yml"
ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config.yml" ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config.yml"
@ -149,7 +150,6 @@ ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --ta
# STORE THE CONFIG FILE CHECKSUM # STORE THE CONFIG FILE CHECKSUM
#================================================= #=================================================
ynh_backup_if_checksum_is_different --file="$final_path/config.yml"
# Recalculate and store the checksum of the file for the next upgrade. # Recalculate and store the checksum of the file for the next upgrade.
ynh_store_file_checksum --file="$final_path/config.yml" ynh_store_file_checksum --file="$final_path/config.yml"