1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/codimd_ynh.git synced 2024-09-03 18:16:32 +02:00
This commit is contained in:
ericgaspar 2021-05-08 14:17:23 +02:00
parent a4f91a84ba
commit 93ca19ca37
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 6 deletions

View file

@ -117,8 +117,8 @@ ynh_script_progression --message="Building CodiMD... (this will take some time a
pushd "$final_path" || ynh_die
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app bin/setup
ynh_exec_warn_less ynh_exec_as $app yarn run build
ynh_exec_warn_less bin/setup
ynh_exec_warn_less yarn run build
popd || ynh_die
#=================================================
@ -150,7 +150,6 @@ ynh_script_progression --message="Securing files and directories..."
# Set permissions to app files
chown -R $app:$app $final_path
chmod o-rwx $final_path
chmod 600 $final_path/config.json
chmod 600 $final_path/.sequelizerc

View file

@ -135,8 +135,8 @@ then
pushd "$final_path" || ynh_die
ynh_use_nodejs
ynh_exec_warn_less ynh_exec_as $app bin/setup
ynh_exec_warn_less ynh_exec_as $app yarn run build
ynh_exec_warn_less $app bin/setup
ynh_exec_warn_less yarn run build
popd || ynh_die
fi
@ -168,7 +168,6 @@ ynh_script_progression --message="Securing files and directories..." --weight=1
# Set permissions on app files
chown -R $app:$app $final_path
chmod o-rwx $final_path
#=================================================
# INTEGRATE SERVICE IN YUNOHOST