fix: disable clamscan (to avoid a load of packages)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Glenn Y. Rolland 2024-08-13 18:00:40 +02:00
parent c6c36e877d
commit 4ee48f323e

View file

@ -18,9 +18,9 @@ cd "$WORKDIR" || exit 1
echo "GX:BEFORE-STARTING:START ($(pwd))" echo "GX:BEFORE-STARTING:START ($(pwd))"
# find . -maxdepth 1 # find . -maxdepth 1
echo "GX:BEFORE-STARTING:STATUS" echo "GX:BEFORE-STARTING:STATUS"
php -d memory_limit=-1 occ status |jq -r '.installed' php -d memory_limit=-1 occ status
# INSTALLED="$(php -d memory_limit=-1 occ status |jq -r '.installed')" # INSTALLED="$(php -d memory_limit=-1 occ status |jq -r '.installed')"
if php -d memory_limit=-1 occ status 2>&1 | grep 'not installed' ; then if php -d memory_limit=-1 occ status 2>&1 | grep -q 'not installed' ; then
echo "WARNING: Nextcloud is not installed yet. Exiting." echo "WARNING: Nextcloud is not installed yet. Exiting."
exit 0 exit 0
fi fi