~ubuntu-branches/ubuntu/raring/bc/raring

« back to all changes in this revision

Viewing changes to debian/dc.postrm

  • Committer: Bazaar Package Importer
  • Author(s): John G. Hasler
  • Date: 2009-10-15 12:17:23 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091015121723-m7ve86o6ys2ud0eg
Tags: 1.06.95-2
Fixed errors in debian/rules that prevented info files from
being correctly generated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#
3
3
# This is the postrm script for the Debian GNU/Linux dc package
4
4
#
5
 
# Written by Dirk Eddelbuettel <edd@debian.org>   
6
 
# Previous versions written by Bill Mitchell, Austin Donnelly and James Troup
 
5
# Written by John G. Hasler    
 
6
# Previous versions written by Dirk Eddelbuettel, Bill Mitchell, 
 
7
# Austin Donnelly and James Troup
7
8
 
8
9
set -e
9
10
 
11
12
 
12
13
case "$1" in
13
14
    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
14
 
#       if [ -x /usr/bin/update-menus ]
15
 
#       then
16
 
#           update-menus
17
 
#       fi
 
15
        if [ -x /usr/bin/update-menus ]
 
16
        then
 
17
            update-menus
 
18
        fi
18
19
        ;;
19
20
    *)
20
21
        echo "postrm called with unknown argument \`$1'" >&2