Initial Commit
[packages] / xemacs-packages / dictionary / debian / remove.debian
1 #!/bin/sh
2 PACKAGE=dictionary
3 FLAVOUR=$1
4 ELCDIR=/usr/share/$FLAVOUR/site-lisp/
5
6 SOURCE="connection.el dictionary.el link.el"
7 CONFFILE=/etc/$FLAVOUR/site-start.d/50${PACKAGE}.el
8
9 case "$FLAVOUR" in
10   emacs) echo "install/$PACKAGE: Ignoring emacs";;
11       *) echo -n "remove/$PACKAGE: Removing for $FLAVOUR..."
12          cd $ELCDIR
13          for i in $SOURCE; do rm -f ${i}c; done
14          rm ${CONFFILE}
15          echo " done."
16          ;;
17 esac