mirror of
https://github.com/YunoHost-Apps/wikijs_ynh.git
synced 2024-09-03 20:36:09 +02:00
commit
84fecc6d5f
4 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
||||
**Shipped version:** 2.0.0-beta.148
|
||||
**Shipped version:** 2.0.0-beta.174
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/Requarks/wiki/releases/download/2.0.0-beta.148/wiki-js.tar.gz
|
||||
SOURCE_SUM=c8659cf57ea0b582aedc23c3c476a6d70603313834134bc8dbc7be2831e3e2c9
|
||||
SOURCE_URL=https://github.com/Requarks/wiki/releases/download/2.0.0-beta.174/wiki-js.tar.gz
|
||||
SOURCE_SUM=34001cda470c5154d4539871267418b849b8e15b0fbe8cf7ffdae92d12b88c5e
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=false
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"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."
|
||||
},
|
||||
"version": "2.0.0-beta.148~ynh1",
|
||||
"version": "2.0.0-beta.174~ynh1",
|
||||
"url": "https://wiki.js.org/",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"maintainer": {
|
||||
|
|
|
@ -139,6 +139,7 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
|
|||
# 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"
|
||||
|
||||
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
|
||||
#=================================================
|
||||
|
||||
ynh_backup_if_checksum_is_different --file="$final_path/config.yml"
|
||||
# Recalculate and store the checksum of the file for the next upgrade.
|
||||
ynh_store_file_checksum --file="$final_path/config.yml"
|
||||
|
||||
|
|
Loading…
Reference in a new issue