diff options
author | Daniel Hansson <github@hanssonit.se> | 2018-12-15 19:31:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-15 19:31:01 +0300 |
commit | 34740ac5458506ee6cce031bdd3b97406fd9ab10 (patch) | |
tree | 78cb8a11beb2a0a1c3863a8cd336083194db054a /apps/previewgenerator.sh | |
parent | 700045c722824a6f84942ce915697d7888278bff (diff) |
make imagick optional
Diffstat (limited to 'apps/previewgenerator.sh')
-rw-r--r-- | apps/previewgenerator.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/previewgenerator.sh b/apps/previewgenerator.sh index 0b95e6de..80006923 100644 --- a/apps/previewgenerator.sh +++ b/apps/previewgenerator.sh @@ -16,6 +16,18 @@ debug_mode # Check if root root_check +msg_box "Please note that this will put your server at risk as it will install a package called 'imagick' which is known to have several flaws. + +You can check this issue to understand why: https://github.com/nextcloud/vm/issues/743 + +You can choose to cancel installing this in the next step." +if [[ "no" == $(ask_yes_or_no "Do you still want to continue?") ]] +then + exit +else + sleep 1 +fi + # Install preview generator install_and_enable_app previewgenerator @@ -60,6 +72,8 @@ then # Install needed dependencies install_if_not ffmpeg install_if_not libreoffice + install_if_not php-imagick + install_if_not libmagickcore-6.q16-3-extra # Pre generate everything occ_command preview:generate-all |