~muktupavels/metacity/adwaita-icon-theme-lp-1414613

« back to all changes in this revision

Viewing changes to debian/metacity.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2005-10-03 22:44:28 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20051003224428-ft31gkmz12qpzohj
Tags: 1:2.12.1-0ubuntu1
* New upstream release:
  - Thanks to Ray Strode, Havoc Pennington, and Elijah Newren for
    improvements in this release.
  - Truncate ridiculously long titles to avoid crashing or letting the
    pager crash (Ray, Havoc, Elijah) [#315070] (Ubuntu: #15995)
  - Get the tabbing window outline to work with gtk+ 2.8.4 again
    (Elijah) [#317528] (Ubuntu: #16589)
  - Translations: Mahay Alam Khan (bn), Francisco Javier F. Serrador (es), 
    Ivar Smolin (et), I\uffffaki Larra\uffffaga Murgoitio (eu), Luca 
    Ferretti (it), Christian Rose (sv), Clytie Siddall (vi), Funda 
    Wang (zh_CN)
* debian/control.in:
  - Bumped Standards-Version.
* debian/patches/003_bordersdrawingfix.patch:
  - dropped, fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# postrm script for #PACKAGE#
 
3
#
 
4
# see: dh_installdeb(1)
 
5
 
 
6
set -e
 
7
 
 
8
PACKAGE=metacity
 
9
CENTRALCAT=/etc/sgml/${PACKAGE}.cat
 
10
 
 
11
# summary of how this script can be called:
 
12
#        * <postrm> `remove'
 
13
#        * <postrm> `purge'
 
14
#        * <old-postrm> `upgrade' <new-version>
 
15
#        * <new-postrm> `failed-upgrade' <old-version>
 
16
#        * <new-postrm> `abort-install'
 
17
#        * <new-postrm> `abort-install' <old-version>
 
18
#        * <new-postrm> `abort-upgrade' <old-version>
 
19
#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
 
20
# for details, see http://www.debian.org/doc/debian-policy/ or
 
21
# the debian-policy package
 
22
 
 
23
 
 
24
case "$1" in
 
25
    remove)
 
26
        /usr/sbin/install-sgmlcatalog --quiet --remove ${PACKAGE} || true
 
27
        /usr/sbin/update-catalog --quiet --remove --super ${CENTRALCAT}
 
28
        ;;
 
29
    purge)
 
30
        rm -f ${CENTRALCAT} ${CENTRALCAT}.old
 
31
        ;;
 
32
    upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
 
33
        ;;
 
34
    *)
 
35
        echo "postrm called with unknown argument \`$1'" >&2
 
36
        exit 1
 
37
 
 
38
esac
 
39
 
 
40
# dh_installdeb will replace this with shell code automatically
 
41
# generated by other debhelper scripts.
 
42
 
 
43
#DEBHELPER#
 
44
 
 
45
exit 0