|
Lines 22-28
Link Here
|
| 22 |
@unexec if cmp -s %D/etc/freshclam.conf %D/etc/freshclam.conf.default; then rm -f %D/etc/freshclam.conf; fi |
22 |
@unexec if cmp -s %D/etc/freshclam.conf %D/etc/freshclam.conf.default; then rm -f %D/etc/freshclam.conf; fi |
| 23 |
etc/freshclam.conf.default |
23 |
etc/freshclam.conf.default |
| 24 |
@exec [ -f %B/freshclam.conf ] || cp %B/%f %B/freshclam.conf |
24 |
@exec [ -f %B/freshclam.conf ] || cp %B/%f %B/freshclam.conf |
| 25 |
@unexec [ -s %D/%%DATADIR%%/main.cvd ] || rm -f %D/%%DATADIR%%/daily.cvd || true |
25 |
@unexec [ -s %D/%%DATADIR%%/daily.cvd ] || rm -f %D/%%DATADIR%%/daily.cvd || true |
| 26 |
@unexec [ -s %D/%%DATADIR%%/main.cvd ] || rm -f %D/%%DATADIR%%/main.cvd || true |
26 |
@unexec [ -s %D/%%DATADIR%%/main.cvd ] || rm -f %D/%%DATADIR%%/main.cvd || true |
| 27 |
@dirrm %%DATADIR%% |
27 |
@dirrm %%DATADIR%% |
| 28 |
@unexec rmdir /var/run/clamav 2>/dev/null || true |
28 |
@unexec rmdir /var/run/clamav 2>/dev/null || true |