Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2021-02-23 22:44:47 +0300
committerGitHub <noreply@github.com>2021-02-23 22:44:47 +0300
commit2e381bc67b1d04a34df8be5fe13740b4d05290c1 (patch)
treef8a5d8e108f1600500a983469b8d0ae54416006a /apps/previewgenerator.sh
parent9c6045378e1dc27dafa6cef7eaee371913f2fbaf (diff)
introduce whiteboard app in master (#1841)
Signed-off-by: szaimen <szaimen@e.mail.de>
Diffstat (limited to 'apps/previewgenerator.sh')
-rw-r--r--apps/previewgenerator.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/previewgenerator.sh b/apps/previewgenerator.sh
index ff5a55e9..b0320d4d 100644
--- a/apps/previewgenerator.sh
+++ b/apps/previewgenerator.sh
@@ -48,7 +48,7 @@ else
# reset the cronjob
crontab -u www-data -l | grep -v 'preview:pre-generate' | crontab -u www-data -
# Remove apps
- APPS=(ffmpeg php-imagick libmagickcore-6.q16-3-extra)
+ APPS=(php-imagick libmagickcore-6.q16-3-extra)
for app in "${APPS[@]}"
do
if is_this_installed "$app"
@@ -56,6 +56,10 @@ else
apt purge "$app" -y
fi
done
+ if is_this_installed ffmpeg && ! is_app_installed integration_whiteboard
+ then
+ apt purge ffmpeg -y
+ fi
apt autoremove -y
# Show successful uninstall if applicable
removal_popup "$SCRIPT_NAME"