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

install snappdf, since its not included by default anymore

This commit is contained in:
Sebastian Gumprich 2022-11-21 09:08:12 +01:00
parent 27d36f413b
commit a00e1cc8c9
2 changed files with 8 additions and 0 deletions

View file

@ -150,6 +150,10 @@ pushd "$final_path"
php$phpversion artisan optimize --no-interaction --verbose php$phpversion artisan optimize --no-interaction --verbose
php$phpversion artisan view:clear php$phpversion artisan view:clear
php$phpversion artisan cache:clear php$phpversion artisan cache:clear
# 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
popd popd
chmod 750 "$final_path" chmod 750 "$final_path"

View file

@ -152,6 +152,10 @@ pushd "$final_path"
# clear cached stuff under /app/data/storage/framework (https://github.com/laravel/framework/issues/17377) # clear cached stuff under /app/data/storage/framework (https://github.com/laravel/framework/issues/17377)
php$phpversion artisan view:clear php$phpversion artisan view:clear
php$phpversion artisan cache:clear php$phpversion artisan cache:clear
# 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
popd popd
chmod 750 "$final_path" chmod 750 "$final_path"