preinst is in ppp 2.4.5-5ubuntu1.
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 | #!/bin/sh -e
case "$1" in
install|upgrade)
if dpkg --compare-versions "$2" le "2.4.5-4"; then
if dpkg --compare-versions "$2" le "2.4.4b1-1"; then
rm -f /etc/init.d/ppp
update-rc.d ppp remove
fi
rm -f /etc/apm/event.d/ppp
fi
;;
esac
|