From a30160cb77a7ba5a2ac1a2f347e9295932961aaf Mon Sep 17 00:00:00 2001 From: Didier Barzin Date: Fri, 24 Feb 2023 14:21:34 +0100 Subject: [PATCH] poetry update and workers --- install.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/install.sh b/install.sh index 21f4b61..a140910 100755 --- a/install.sh +++ b/install.sh @@ -121,16 +121,8 @@ wget http://cdn.download.comodo.com/av/updates58/sigs/bases/bases.cav -O /opt/CO # Configure workers # su - $SUDO_USER -c 'cd pandora; for file in pandora/workers/*.sample; do cp -i ${file} ${file%%.sample}; done' -# Disable all workers -su - $SUDO_USER -c 'cd pandora && mkdir pandora/workers/disabled && mv pandora/workers/*.sample pandora/workers/*.py pandora/workers/disabled' - -# select some workers -su - $SUDO_USER -c 'cd pandora; cp pandora/workers/disabled/base.* pandora/workers' -su - $SUDO_USER -c 'cd pandora; cp pandora/workers/disabled/clamav.* pandora/workers' -su - $SUDO_USER -c 'cd pandora; cp pandora/workers/disabled/extractor.* pandora/workers' - # Update Pandora -su - $SUDO_USER -c 'cd pandora; poetry run update --yes' +su - $SUDO_USER -c 'cd pandora; ../.local/bin/poetry run update --yes' #--------------------- # Pandora-box