postinst is in libc-icap-mod-clamav 1:0.1.6-1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/sh
set -e
if [ "x$1" = xconfigure ]; then
if [ -d /etc/clamav/onupdateexecute.d ]; then
cp /usr/share/doc/libc-icap-mod-clamav/examples/libc-icap-mod-clamav.pattern-update \
/etc/clamav/onupdateexecute.d/libc-icap-mod-clamav
chmod 755 /etc/clamav/onupdateexecute.d/libc-icap-mod-clamav
else
echo "Pattern Reload Script NOT installed."
fi
fi
exit 0
|