aboutsummaryrefslogtreecommitdiffstats
path: root/debian/emacsen-remove.ex
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2010-10-28 23:51:06 +0200
committerGravatar Tom Willemsen2010-10-28 23:51:06 +0200
commit5368f569969a16ac95eeda8f6d682dc7c0e31f29 (patch)
tree39b8ef000674205693758d38cb0c92b634106584 /debian/emacsen-remove.ex
parent10ac8429513186e5e396167dcdb7459fa3932525 (diff)
downloadeye-on-manga-5368f569969a16ac95eeda8f6d682dc7c0e31f29.tar.gz
eye-on-manga-5368f569969a16ac95eeda8f6d682dc7c0e31f29.zip
Created files for packaging as .deb
Diffstat (limited to 'debian/emacsen-remove.ex')
-rw-r--r--debian/emacsen-remove.ex15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/emacsen-remove.ex b/debian/emacsen-remove.ex
new file mode 100644
index 0000000..776ee0c
--- /dev/null
+++ b/debian/emacsen-remove.ex
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/eye-on-manga
+
+FLAVOR=$1
+PACKAGE=eye-on-manga
+
+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/info/eye-on-manga.info.gz
+ fi
+
+ echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+ rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi