Debian Codegraph @

debian/ppp.preinst

raw
1 #!/bin/sh
2 set -e
3
4 case "$1" in
5 install|upgrade)
6 if dpkg --compare-versions "$2" le "2.4.5-4"; then
7
8 if dpkg --compare-versions "$2" le "2.4.4b1-1"; then
9 rm -f /etc/init.d/ppp
10 update-rc.d ppp remove
11 fi
12
13 rm -f /etc/apm/event.d/ppp
14 fi
15 ;;
16 esac
17
18 #DEBHELPER#