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

create log folder + fix build app typo

This commit is contained in:
lapineige 2023-09-23 23:33:04 +02:00 committed by GitHub
parent 99903d7425
commit 8a1ee553bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,6 +87,7 @@ ynh_add_config --template="config.json" --destination="$install_dir/config.json"
# for example if the app is expected to be able to modify its own config
chmod 400 "$install_dir/config.json"
chown $app:$app "$install_dir/config.json"
chown $app:$app "/var/log/$app"
### For more complex cases where you want to replace stuff using regexes,
### you shoud rely on ynh_replace_string (which is basically a wrapper for sed)
@ -102,7 +103,7 @@ ynh_script_progression --message="Installing yarn dependency and building the ap
pushd $install_dir
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH run build --config $install_dir/config.json# there is no "install" command, only build
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH run build --config $install_dir/config.json #There is no "install" command, only build
popd
#=================================================
# SETUP APPLICATION WITH CURL