~ubuntu-branches/ubuntu/vivid/blackbox/vivid

« back to all changes in this revision

Viewing changes to debian/postrm

  • Committer: Bazaar Package Importer
  • Author(s): Sean 'Shaleh' Perry
  • Date: 2002-01-30 22:17:06 UTC
  • Revision ID: james.westby@ubuntu.com-20020130221706-ba8lf0s6uthztm1d
Tags: 0.62.1-1
new upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
set -e
 
3
 
 
4
Blackbox_entry="/usr/bin/blackbox"
 
5
 
 
6
case "$1" in
 
7
    purge)
 
8
        rm -rf /etc/X11/blackbox
 
9
        ;;
 
10
    remove)
 
11
        if [ -x /usr/sbin/wm-menu-config ]; then
 
12
            wm-menu-config blackbox off
 
13
        fi
 
14
 
 
15
        if [ -x /usr/sbin/register-window-manager ] ; then
 
16
            register-window-manager --remove $Blackbox_entry
 
17
        fi
 
18
 
 
19
        ;;
 
20
    *)
 
21
        ;;
 
22
esac
 
23
 
 
24
#DEBHELPER#