1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invoiceninja5_ynh.git synced 2024-09-03 19:26:23 +02:00

fix pdf generation error

This commit is contained in:
Sebastian Gumprich 2024-06-30 19:40:27 +02:00
parent 32f22ec6e6
commit 979c9d3cdd

View file

@ -77,6 +77,8 @@ pushd "$install_dir"
# install snappdf, since it isn't included by default anymore since
# 5.5.12: https://invoiceninja.github.io/docs/self-host-troubleshooting/#pdf-conversion-issues
php$phpversion vendor/bin/snappdf download
# see: https://forum.cloudron.io/topic/11932/invoice-ninja-server-500-internal-error/29
find vendor/beganovich/snappdf/versions/*-Linux_x64/chrome-linux/ -type f -name chrome* ! -name "*.*" -print -exec chmod 755 {} \;
popd
chmod 750 "$install_dir"