1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tiddlywiki_ynh.git synced 2024-09-03 20:26:34 +02:00
This commit is contained in:
ericgaspar 2022-05-22 09:16:57 +02:00
parent c3adf97b44
commit c5edeaec03
4 changed files with 6 additions and 8 deletions

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/Jermolene/TiddlyWiki5/archive/v5.1.23.tar.gz
SOURCE_SUM=a35f8a4cb25f1f75e49ec40dcc9b1cd7ef4fb099322507464272be720fdc28d3
SOURCE_URL=https://github.com/Jermolene/TiddlyWiki5/archive/v5.2.2.tar.gz
SOURCE_SUM=f381c601df68047dfea8f7479fd07b7d274e039d876ed14904fd7727a8ed0401
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -6,7 +6,7 @@
"en": "Non-linear personal web notebook",
"fr": "Carnet Web personnel non linéaire"
},
"version": "5.1.23~ynh5",
"version": "5.2.2~ynh1",
"url": "https://tiddlywiki.com/",
"upstream": {
"license": "BSD-2-Clause",

View file

@ -99,7 +99,7 @@ ynh_script_progression --message="Configuring TiddlyWiki..." --weight=2
pushd $final_path
ynh_use_nodejs
npm install -g tiddlywiki
ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install -g tiddlywiki
ynh_exec_as $app env $ynh_node_load_PATH tiddlywiki mynewwiki --init server
popd
@ -108,8 +108,7 @@ popd
#=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=1
ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file=../conf/systemd.service
env_path="$PATH"
ynh_add_systemd_config
#=================================================

View file

@ -115,8 +115,7 @@ ynh_install_nodejs --nodejs_version=$nodejs_version
#=================================================
ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file=../conf/systemd.service
env_path="$PATH"
ynh_add_systemd_config
#=================================================