1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/chitchatter_ynh.git synced 2024-09-03 18:15:59 +02:00

chmod after build on install

This commit is contained in:
D5k H3h 2024-02-18 09:33:03 +01:00 committed by GitHub
parent a1a606ba81
commit f4935af861
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,9 +33,6 @@ pushd "$install_dir"
git reset --hard --quiet $version_commit
popd
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================
# NGINX CONFIGURATION
#=================================================
@ -56,6 +53,9 @@ pushd $install_dir
ynh_exec_warn_less $ynh_npm run build
popd
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================
# END OF SCRIPT
#=================================================