preinst is in parallel 20141022+ds1-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 18 | #!/bin/sh
set -e
if [ "$1" = "install" ]; then
dpkg-divert --package parallel --add --rename \
--divert /usr/bin/parallel.moreutils \
/usr/bin/parallel
dpkg-divert --package parallel --add --rename \
--divert /usr/share/man/man1/parallel.moreutils.1.gz \
/usr/share/man/man1/parallel.1.gz
fi
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/parallel/config 20120422-1 -- "$@"
# End automatically added section
exit 0
|