mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-22 17:02:58 +02:00
Core Update 177: Remove dropped squidclamav add-on, if installed
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
@@ -84,6 +84,18 @@ rm -rvf \
|
||||
/boot/dtb-* \
|
||||
/lib/modules
|
||||
|
||||
# Remove dropped squidclamav add-on, if installed
|
||||
if [ -e "/opt/pakfire/db/installed/meta-squidclamav" ]; then
|
||||
stop_service "squidclamav"
|
||||
for i in $(</opt/pakfire/db/rootfiles/squidclamav); do
|
||||
rm -rfv "/${i}"
|
||||
done
|
||||
fi
|
||||
rm -f \
|
||||
/opt/pakfire/db/installed/meta-squidclamav \
|
||||
/opt/pakfire/db/meta/meta-squidclamav \
|
||||
/opt/pakfire/db/rootfiles/squidclamav
|
||||
|
||||
# Extract files
|
||||
extract_files
|
||||
|
||||
|
||||
Reference in New Issue
Block a user