aboutsummaryrefslogtreecommitdiff
path: root/debian/remove.debian
diff options
context:
space:
mode:
authorTorsten Hilbrich <torsten.hilbrich@gmx.net>2001-07-08 21:44:00 +0200
committerTorsten Hilbrich <torsten@hilbrich.net>2011-08-27 20:47:38 +0200
commitd8d08549efa7eb2f5d1c513e190b3187a4629f34 (patch)
treeb782dbabd59945eaaa840297c2d09524965e743a /debian/remove.debian
parent6b1979792a3f25f35b762cdd7eb805856ebdc95c (diff)
Imported version 1.5 from tarball
added tooltip support for GNU Emacs 21
Diffstat (limited to 'debian/remove.debian')
-rwxr-xr-xdebian/remove.debian17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/remove.debian b/debian/remove.debian
new file mode 100755
index 0000000..991d208
--- /dev/null
+++ b/debian/remove.debian
@@ -0,0 +1,17 @@
+#!/bin/sh
+PACKAGE=dictionary
+FLAVOUR=$1
+ELCDIR=/usr/share/$FLAVOUR/site-lisp/
+
+SOURCE="connection.el dictionary.el link.el"
+CONFFILE=/etc/$FLAVOUR/site-start.d/50${PACKAGE}.el
+
+case "$FLAVOUR" in
+ emacs) echo "install/$PACKAGE: Ignoring emacs";;
+ *) echo -n "remove/$PACKAGE: Removing for $FLAVOUR..."
+ cd $ELCDIR
+ for i in $SOURCE; do rm -f ${i}c; done
+ rm ${CONFFILE}
+ echo " done."
+ ;;
+esac