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

Update install

This commit is contained in:
Éric Gaspar 2024-06-05 11:33:15 +02:00
parent ad40d45137
commit 1eb4562438

View file

@ -15,7 +15,6 @@ source /usr/share/yunohost/helpers
ynh_script_progression --message="Installing dependencies..." ynh_script_progression --message="Installing dependencies..."
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
ynh_use_nodejs
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
@ -49,6 +48,7 @@ ynh_script_progression --message="Configuring TiddlyWiki..." --weight=2
if [ ! -f $data_dir/tiddlywiki.info ] if [ ! -f $data_dir/tiddlywiki.info ]
then then
pushd $install_dir pushd $install_dir
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ./tiddlywiki.js $data_dir --init server ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH ./tiddlywiki.js $data_dir --init server
popd popd
fi fi