~ubuntu-branches/ubuntu/saucy/rrdtool/saucy-proposed

« back to all changes in this revision

Viewing changes to debian/rrdcached.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2010-07-22 08:07:01 UTC
  • mfrom: (1.2.8 upstream) (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100722080701-k46mgdfz6euxwqsm
Tags: 1.4.3-1ubuntu1
* Merge from debian unstable, Remaining changes:
  - debian/control: Don't build against ruby1.9 as we don't want
    it in main.
* require libdbi >= 0.8.3 to prevent aborts when using dbi datasources

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/bash
 
2
# postrm script for rrdcached
 
3
#
 
4
# see: dh_installdeb(1)
 
5
 
 
6
set -e
 
7
 
 
8
# summary of how this script can be called:
 
9
#        * <postrm> `remove'
 
10
#        * <postrm> `purge'
 
11
#        * <old-postrm> `upgrade' <new-version>
 
12
#        * <new-postrm> `failed-upgrade' <old-version>
 
13
#        * <new-postrm> `abort-install'
 
14
#        * <new-postrm> `abort-install' <old-version>
 
15
#        * <new-postrm> `abort-upgrade' <old-version>
 
16
#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
 
17
# for details, see http://www.debian.org/doc/debian-policy/ or
 
18
# the debian-policy package
 
19
 
 
20
 
 
21
case "$1" in
 
22
    purge)
 
23
        rm -rf /var/lib/rrdcached/
 
24
        ;;
 
25
 
 
26
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
 
27
        ;;
 
28
 
 
29
    *)
 
30
        echo "postrm called with unknown argument \`$1'" >&2
 
31
        exit 1
 
32
        ;;
 
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