From c636c4296128856e215594acdc4e3e28dcf5f3a5 Mon Sep 17 00:00:00 2001 From: didier Date: Mon, 7 Apr 2025 10:57:39 +0200 Subject: [PATCH] fix invalid path --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 8ad4955..a7bad0a 100755 --- a/install.sh +++ b/install.sh @@ -117,7 +117,7 @@ su - $SUDO_USER -c "cp ~/pandora/config/logging.json.sample ~/pandora/config/log apt install -y python3-yara # ClamAV -cd +cd /home/$SUDO_USER apt-get install -y hdparm clamav-daemon # In order for the module to work, you need the signatures. # Running the command "freshclam" will do it but if the script is already running @@ -136,8 +136,9 @@ dpkg --ignore-depends=libssl0.9.8 -i cav-linux_x64.deb wget http://cdn.download.comodo.com/av/updates58/sigs/bases/bases.cav -O /opt/COMODO/scanners/bases.cav # Configure Pandora workers -cd ~/pandora +cd /home/$SUDO_USER/pandora for file in pandora/workers/*.sample; do cp -i ${file} ${file%%.sample}; done + # remove some workers # rm pandora/workers/preview.yml