File: preinst

package info (click to toggle)
wm2 4-8
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 236 kB
  • ctags: 415
  • sloc: cpp: 3,479; makefile: 51; sh: 39
file content (12 lines) | stat: -rw-r--r-- 268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

case "$1" in
  upgrade)
    if dpkg --compare-versions "$2" '<<' "4-6" ; then
        update-alternatives --remove x-window-manager /usr/bin/X11/wm2
        update-alternatives --remove x-window-manager /usr/X11R6/bin/wm2
    fi
    ;;
esac

#DEBHELPER#