aboutsummaryrefslogtreecommitdiff
path: root/remove.debian
diff options
context:
space:
mode:
authorTorsten Hilbrich <torsten.hilbrich@gmx.net>2001-05-13 10:30:00 +0200
committerTorsten Hilbrich <torsten@hilbrich.net>2011-08-27 20:47:37 +0200
commitacc30f0c431e4ad89296f4bd9b81e97f970ac6c7 (patch)
tree65582b49b53b3278b7d71c80e3894880eba11ea4 /remove.debian
parenta18e83ba2f8ad73aaa5be8fa44dbf739f7c100f5 (diff)
Imported version 1.3.1 from tarball
small fix in dictionary function to check for availability of the utf-8 encoding to prevent problems in certain xemacs versions (reported by Jeff Mincy) added debian support (use dpkg-buildpackage to build a package)
Diffstat (limited to 'remove.debian')
-rwxr-xr-xremove.debian17
1 files changed, 17 insertions, 0 deletions
diff --git a/remove.debian b/remove.debian
new file mode 100755
index 0000000..991d208
--- /dev/null
+++ b/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