postinst is in dump 0.4b44-7.
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 18 19 20 21 | #!/bin/sh
set -e
# make sure it exists...
if [ ! -f /var/lib/dumpdates ]; then
touch /var/lib/dumpdates
fi
# Ensure /var/lib/dumpdates is writeable by group disk
chown root /var/lib/dumpdates
chgrp disk /var/lib/dumpdates
chmod 664 /var/lib/dumpdates
update-alternatives --install /usr/sbin/rmt rmt /usr/sbin/rmt-dump \
100 --slave /usr/share/man/man8/rmt.8.gz rmt.8.gz \
/usr/share/man/man8/rmt-dump.8.gz
exit 0
|