Merge pull request #281 from YunoHost-Apps/fix_pdf_gen
fix pdf generation error
This commit is contained in:
@@ -77,6 +77,8 @@ pushd "$install_dir"
|
|||||||
# install snappdf, since it isn't included by default anymore since
|
# 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
|
# 5.5.12: https://invoiceninja.github.io/docs/self-host-troubleshooting/#pdf-conversion-issues
|
||||||
php$phpversion vendor/bin/snappdf download
|
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
|
popd
|
||||||
|
|
||||||
chmod 750 "$install_dir"
|
chmod 750 "$install_dir"
|
||||||
|
|||||||
Reference in New Issue
Block a user