diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2005-09-22 13:17:52 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2005-09-22 13:17:52 +0000 |
commit | 673a029500c2663de2859d87612c3e886e064a76 (patch) | |
tree | a89f6038ca142ae46f689d685566b53676f92bca /security/clamav-devel | |
parent | 17caa853bab28816d073bb8f4ffb9ee582abbe02 (diff) | |
download | ports-673a029500c2663de2859d87612c3e886e064a76.tar.gz ports-673a029500c2663de2859d87612c3e886e064a76.zip |
Notes
Diffstat (limited to 'security/clamav-devel')
-rw-r--r-- | security/clamav-devel/pkg-plist | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/clamav-devel/pkg-plist b/security/clamav-devel/pkg-plist index 40c794a36278..dbc123f0859e 100644 --- a/security/clamav-devel/pkg-plist +++ b/security/clamav-devel/pkg-plist @@ -23,8 +23,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 [ ! -f %%DBDIR%%/daily.cvd ] || rm -f %%DBDIR%%/daily.cvd || true -@unexec [ ! -f %%DBDIR%%/main.cvd ] || rm -f %%DBDIR%%/main.cvd || true -@unexec rmdir %%DBDIR%% +@unexec [ -s %%DBDIR%%/daily.cvd ] || rm -f %%DBDIR%%/daily.cvd || true +@unexec [ -s %%DBDIR%%/main.cvd ] || rm -f %%DBDIR%%/main.cvd || true +@unexec rmdir %%DBDIR%% 2>/dev/null || true @unexec rmdir %%LOGDIR%% 2>/dev/null || true @unexec rmdir %%RUNDIR%% 2>/dev/null || true |