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:
ericgaspar 2021-12-23 18:54:57 +01:00
parent e1a3dda370
commit e22df08e7f
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -78,8 +78,8 @@ ynh_script_progression --message="Setting up source files..." --weight=1
ynh_app_setting_set --app=$app --key=final_path --value=$final_path ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
#ynh_setup_source --dest_dir=$final_path ynh_setup_source --dest_dir=$final_path
mkdir -p $final_path
chmod 750 "$final_path" chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path" chown -R $app:www-data "$final_path"
@ -99,7 +99,7 @@ ynh_script_progression --message="Configuring TiddlyWiki..." --weight=2
pushd $final_path pushd $final_path
ynh_use_nodejs ynh_use_nodejs
ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install tiddlywiki@$tiddlywiki_version #ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install tiddlywiki@$tiddlywiki_version
ynh_exec_as $app env $ynh_node_load_PATH tiddlywiki mynewwiki --init server ynh_exec_as $app env $ynh_node_load_PATH tiddlywiki mynewwiki --init server
popd popd