postinst is in skytools 2.1.12-6.
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
case $1 in
configure)
if dpkg --compare-versions "$2" lt "2.1.12-2"; then
for I in londiste scriptmgr queue_mover queue_splitter walmgr ; do
update-alternatives --install /usr/bin/$I $I /usr/bin/${I}2 2 \
--slave /usr/share/man/man1/$I.1.gz $I.1 /usr/share/man/man1/${I}2.1.gz || exit 1
done
fi ;;
esac
# Automatically added by dh_python2:
if which pycompile >/dev/null 2>&1; then
pycompile -p skytools
fi
# End automatically added section
|