aboutsummaryrefslogtreecommitdiff
path: root/debian/postrm
diff options
context:
space:
mode:
authorranke <ranke@d1b72e20-2ee0-0310-a1c4-ad5adbbefcdc>2005-08-08 15:23:33 +0000
committerranke <ranke@d1b72e20-2ee0-0310-a1c4-ad5adbbefcdc>2005-08-08 15:23:33 +0000
commit318518e17bace1b7dc0a4526af267edd88feb447 (patch)
treecf8ef03a2045c16924dd8da3f2d14f3acb034ce9 /debian/postrm
parentc5f30593d42ecd9a21f799a4943709b1b73a1162 (diff)
Debianization.
git-svn-id: http://kriemhild.uft.uni-bremen.de/svn/drfit@35 d1b72e20-2ee0-0310-a1c4-ad5adbbefcdc
Diffstat (limited to 'debian/postrm')
-rw-r--r--debian/postrm24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..9d19fd3
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,24 @@
+#!/bin/sh
+# debian/postrm file for r-cran packages
+# Copyright 2004, 2005 by Dirk Eddelbuettel <edd@debian.org>
+
+set -e
+
+#DEBHELPER#
+
+case "$1" in
+ upgrade|remove|purge)
+ if test -x /usr/bin/R; then
+ /usr/bin/R CMD perl /usr/lib/R/share/perl/build-help.pl --htmllists
+ fi
+ ;;
+ failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ ;;
+esac
+
+
+exit 0
+

Contact - Imprint