~ubuntu-branches/ubuntu/natty/mimetic/natty

« back to all changes in this revision

Viewing changes to debian/libmimetic-doc.prerm

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2009-05-15 19:12:51 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090515191251-ie3y9o4z1wbrgzj5
Tags: 0.9.6-1
* New upstream release.
* debian/control:
  - change Section to debug for libmimetic0-dbg
  - remove Section for libmimetic0 (duplicate)
  - set Standards-Version to 3.8.1 (no changes)
  - add ${misc:Depends}
* debian/copyright: update years of upstream and packaging copyright; the
  upstream code is now released under the MIT license; update "headers".
* Remove debian/libmimetic-doc.{postinst,prerem}, install-docs doesn't need
  to be called manually anymore.
* Set debhelper compatibility level to 7; adapt
  debian/{control,compat,rules}.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
# prerm script for libmimetic-doc
3
 
#
4
 
# see: dh_installdeb(1)
5
 
 
6
 
set -e
7
 
 
8
 
# summary of how this script can be called:
9
 
#        * <prerm> `remove'
10
 
#        * <old-prerm> `upgrade' <new-version>
11
 
#        * <new-prerm> `failed-upgrade' <old-version>
12
 
#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
13
 
#        * <deconfigured's-prerm> `deconfigure' `in-favour'
14
 
#          <package-being-installed> <version> `removing'
15
 
#          <conflicting-package> <version>
16
 
# for details, see http://www.debian.org/doc/debian-policy/ or
17
 
# the debian-policy package
18
 
 
19
 
 
20
 
case "$1" in
21
 
    remove|upgrade|deconfigure)
22
 
      if which install-docs >/dev/null 2>&1; then
23
 
        install-docs -r mimetic-doc
24
 
      fi
25
 
    ;;
26
 
 
27
 
    failed-upgrade)
28
 
    ;;
29
 
    
30
 
    *)
31
 
      echo "prerm called with unknown argument \`$1'" >&2
32
 
      exit 1
33
 
    ;;
34
 
esac
35
 
 
36
 
# dh_installdeb will replace this with shell code automatically
37
 
# generated by other debhelper scripts.
38
 
 
39
 
#DEBHELPER#
40
 
 
41
 
exit 0
42
 
 
43