summaryrefslogtreecommitdiff
path: root/debian/bbdb.emacsen-remove
diff options
context:
space:
mode:
Diffstat (limited to 'debian/bbdb.emacsen-remove')
-rwxr-xr-xdebian/bbdb.emacsen-remove36
1 files changed, 0 insertions, 36 deletions
diff --git a/debian/bbdb.emacsen-remove b/debian/bbdb.emacsen-remove
deleted file mode 100755
index f912bd1..0000000
--- a/debian/bbdb.emacsen-remove
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-# /usr/lib/emacsen-common/packages/remove/bbdb
-
-# I don't think that remove scripts should have -e set, because
-# that makes the package unremovable if the script fails.
-# set -e
-
-FLAVOR=$1
-PACKAGE="bbdb"
-
-if [ "X${FLAVOR}" = "X" ]; then
- echo Need argument to determine FLAVOR of emacs;
- exit 1
-fi
-
-if [ "X${PACKAGE}" = "X" ]; then
- echo Internal error: need package name;
- exit 1;
-fi
-
-ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
-ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
-
-case "${FLAVOR}" in
- emacs)
- echo "remove/${PACKAGE}: Ignoring Flavor ${FLAVOR} ..."
- ;;
- *)
- echo -n "remove/${PACKAGE}: Handling removal of emacsen flavor ${FLAVOR} ..."
- rm -rf ${ELCDIR}
-
- echo " done."
- ;;
-esac
-
-exit 0;