From 029939f92ce01e70af697184fdaa5a8e9f13c614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 4 Aug 2024 19:43:56 +0200 Subject: [PATCH] cleaning --- scripts/install | 6 ------ scripts/upgrade | 6 ------ 2 files changed, 12 deletions(-) diff --git a/scripts/install b/scripts/install index 30ba5e9..2c91c39 100755 --- a/scripts/install +++ b/scripts/install @@ -73,12 +73,6 @@ pushd "$install_dir" php$phpversion artisan optimize --no-interaction --verbose php$phpversion artisan view: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 - # 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" diff --git a/scripts/upgrade b/scripts/upgrade index 0b15889..8a2c1a5 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -100,12 +100,6 @@ pushd "$install_dir" # clear cached stuff under /app/data/storage/framework (https://github.com/laravel/framework/issues/17377) php$phpversion artisan view: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 - # 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"