diff options
Diffstat (limited to 'main/clamav/clamav-daemon.pre-upgrade')
-rw-r--r-- | main/clamav/clamav-daemon.pre-upgrade | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/clamav/clamav-daemon.pre-upgrade b/main/clamav/clamav-daemon.pre-upgrade new file mode 100644 index 000000000..c8f82dacd --- /dev/null +++ b/main/clamav/clamav-daemon.pre-upgrade @@ -0,0 +1,11 @@ +#!/bin/sh + +# make sure we don't lose our config +mkdir -p /etc/clamav +if [ -f /etc/clamav.conf ]; then + mv /etc/clamav.conf /etc/clamav/ + ln -s clamav/clamav.conf /etc/clamav.conf +fi + +exit 0 + |