summaryrefslogtreecommitdiff
path: root/vdrmanager-0.2/debian/emacsen-remove.ex
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2011-10-22 00:15:15 +0200
committerlado <herrlado@gmail.com>2011-10-22 00:15:15 +0200
commit23acdd1905fb682d4be5ed486f7e6518c7bfa042 (patch)
tree6f56abb91af9c96cb29ec66485c815c05658c745 /vdrmanager-0.2/debian/emacsen-remove.ex
parent57d9b7a3dc8f31710b93c9d6920fd7c4c2efebd1 (diff)
downloadvdr-manager-23acdd1905fb682d4be5ed486f7e6518c7bfa042.tar.gz
vdr-manager-23acdd1905fb682d4be5ed486f7e6518c7bfa042.tar.bz2
debianized
Diffstat (limited to 'vdrmanager-0.2/debian/emacsen-remove.ex')
-rw-r--r--vdrmanager-0.2/debian/emacsen-remove.ex15
1 files changed, 15 insertions, 0 deletions
diff --git a/vdrmanager-0.2/debian/emacsen-remove.ex b/vdrmanager-0.2/debian/emacsen-remove.ex
new file mode 100644
index 0000000..304e9a2
--- /dev/null
+++ b/vdrmanager-0.2/debian/emacsen-remove.ex
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/vdr-plugin-vdrmanager
+
+FLAVOR=$1
+PACKAGE=vdr-plugin-vdrmanager
+
+if [ ${FLAVOR} != emacs ]; then
+ if test -x /usr/sbin/install-info-altdir; then
+ echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
+ install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/vdr-plugin-vdrmanager.info.gz
+ fi
+
+ echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+ rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi