summaryrefslogtreecommitdiffstats
path: root/main/clamav/clamav-daemon.pre-upgrade
blob: c8f82dacd406b6148df223b64f162c45294a53ac (plain)
1
2
3
4
5
6
7
8
9
10
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