1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/overleaf_ynh.git synced 2024-09-03 19:56:27 +02:00

ynh_secure_remove build dir

This commit is contained in:
Thomas 2024-05-02 08:53:30 +02:00 committed by GitHub
parent 1c53345c7e
commit 374db7ec39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -143,6 +143,9 @@ pushd "$install_dir/live/services/web"
ynh_secure_remove --file="$install_dir/live/services/web/node_modules/.cache"
popd
# remove build dir
ynh_secure_remove "$install_dir/build"
chmod 750 "$install_dir/live"
chmod -R o-rwx "$install_dir/live"
chown -R $app:www-data "$install_dir/live"