2 # prerm script for fvwm
4 # see: dh_installdeb(1)
8 # summary of how this script can be called:
11 # * <old-prerm> `upgrade' <new-version>
12 # * <new-prerm> `failed-upgrade' <old-version>
13 # * <new-prerm> `abort-install'
14 # * <new-prerm> `abort-install' <old-version>
15 # * <new-prerm> `abort-upgrade' <old-version>
16 # * <disappearer's-prerm> `disappear' <overwriter> <new-version>
17 # for details, see http://www.debian.org/doc/debian-policy/ or
18 # the debian-policy package
23 if [ -x update-alternatives
]; then
24 update-alternatives
--remove \
25 x-window-manager
/usr
/bin
/fvwm
26 update-alternatives
--auto x-window-manager
30 failed-upgrade|abort-install|abort-upgrade|disappear
)
34 echo "prerm called with unknown argument \`$1'" >&2
39 # dh_installdeb will replace this with shell code automatically
40 # generated by other debhelper scripts.