~ubuntu-branches/ubuntu/oneiric/latticeextra/oneiric

« back to all changes in this revision

Viewing changes to debian/postrm

  • Committer: Bazaar Package Importer
  • Author(s): Douglas Bates
  • Date: 2004-12-15 07:41:17 UTC
  • Revision ID: james.westby@ubuntu.com-20041215074117-3jxazuri7z0e2al6
Tags: 0.1.1-1
New package and new upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
#                                                       -*- makefile -*-
 
3
# debian/postrm file for the Debian/GNU Linux r-cran-latticeextra package
 
4
# Copyright 2004 by Dirk Eddelbuettel <edd@debian.org>
 
5
 
 
6
set -e
 
7
 
 
8
#DEBHELPER#
 
9
 
 
10
case "$1" in
 
11
    upgrade|remove|purge)
 
12
        if test -x /usr/bin/R; then
 
13
            R CMD perl /usr/lib/R/share/perl/build-help.pl --htmllists
 
14
        fi
 
15
        ;;
 
16
    failed-upgrade|abort-install|abort-upgrade|disappear)
 
17
        ;;
 
18
    *)
 
19
        echo "postrm called with unknown argument \`$1'" >&2
 
20
        ;;
 
21
esac
 
22
 
 
23
 
 
24
exit 0
 
25