aboutsummaryrefslogtreecommitdiff
path: root/debian/postrm
diff options
context:
space:
mode:
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