mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
Fix
This commit is contained in:
parent
a4f91a84ba
commit
93ca19ca37
2 changed files with 4 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue