~ubuntu-branches/ubuntu/utopic/flwm/utopic

« back to all changes in this revision

Viewing changes to debian/postrm

  • Committer: Bazaar Package Importer
  • Author(s): Bill Allombert
  • Date: 2005-04-08 12:37:28 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050408123728-wnbw3utqy45nlanx
Tags: 1.00-7
* Rebuild with g++ with correct ABI.
* Add Fl::visible_focus(0) in initialize(). This should fix
  Alt-Enter with GNOME2 apps. Closes: #246090. Thanks Duncan Sargeant
* Ship the menu-method not executable in the tarball.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
set -e
3
 
wm=flwm
4
3
case "$1" in
5
4
   remove)
6
 
        if test -x /usr/sbin/wm-menu-config; then wm-menu-config $wm off;fi
7
 
        if [ -x /usr/bin/update-menus -a -x /usr/sbin/install-menu ] ; then 
8
 
                update-menus;
9
 
        fi
 
5
        inst=/etc/menu-methods/flwm
 
6
        if [ -f "$inst" ]; then chmod a-x $inst ; fi
 
7
        if test -x /usr/bin/update-menus ; then update-menus; fi
10
8
   ;;
11
9
   purge)
12
10
        # remove the files that install-menu created:
20
18
        exit 0
21
19
   ;;
22
20
esac
23
 
 
24
 
inst=/etc/menu-methods/flwm
25
 
if [ "$1" = "remove" -a -f "$inst" ]; then chmod a-x $inst ; fi
26
 
if test -x /usr/bin/update-menus ; then update-menus; fi