diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2004-10-20 20:48:21 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2004-10-20 20:48:21 +0000 |
commit | 2d6723f8271d79de70571930a48f3ea6c8162b8f (patch) | |
tree | 3eb5d2a888334dfb9b333fcb2ddcda3a069b16df /security/clamav | |
parent | Update danish ispell. (diff) |
- don't delete the virus database on deinstall
(sync with clamav-devel)
Approved by: Rob Evers
Notes
Notes:
svn path=/head/; revision=119875
Diffstat (limited to 'security/clamav')
-rw-r--r-- | security/clamav/pkg-plist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/clamav/pkg-plist b/security/clamav/pkg-plist index c2d7de5977c4..703774be2633 100644 --- a/security/clamav/pkg-plist +++ b/security/clamav/pkg-plist @@ -22,8 +22,8 @@ etc/clamd.conf.default @unexec if cmp -s %D/etc/freshclam.conf %D/etc/freshclam.conf.default; then rm -f %D/etc/freshclam.conf; fi etc/freshclam.conf.default @exec [ -f %B/freshclam.conf ] || cp %B/%f %B/freshclam.conf -@unexec rm -f %D/%%DATADIR%%/daily.cvd || true -@unexec rm -f %D/%%DATADIR%%/main.cvd || true +@unexec [ -s %D/%%DATADIR%%/main.cvd ] || rm -f %D/%%DATADIR%%/daily.cvd || true +@unexec [ -s %D/%%DATADIR%%/main.cvd ] || rm -f %D/%%DATADIR%%/main.cvd || true @dirrm %%DATADIR%% @unexec rmdir /var/run/clamav 2>/dev/null || true @unexec rmdir /var/log/clamav 2>/dev/null || true |