mirror of
https://github.com/YunoHost-Apps/invoiceninja5_ynh.git
synced 2024-09-03 19:26:23 +02:00
fix pdf generation on IN upgrade
This commit is contained in:
parent
bed2387697
commit
8b3379093f
1 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,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"
|
||||
|
|
Loading…
Reference in a new issue