File: prerm

package info (click to toggle)
gwm 1.8d-2
  • links: PTS
  • area: main
  • in suites: potato, woody
  • size: 5,120 kB
  • ctags: 3,030
  • sloc: ansic: 19,617; makefile: 1,763; lisp: 437; sh: 321; ml: 21
file content (10 lines) | stat: -rw-r--r-- 226 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#! /bin/sh -e


if [ \( "$1" = "upgrade" -o "$1" = "remove" -o "$1" = "failed-upgrade" \) ]; then
  if [ -L /usr/doc/gwm ]; then
    rm -f /usr/doc/gwm
  fi
  update-alternatives --remove x-window-manager /usr/bin/X11/gwm

fi