File: remove.debian

package info (click to toggle)
dictionary-el 1.10%2Bgit20190107-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 248 kB
  • sloc: lisp: 1,278; makefile: 112; sh: 41
file content (17 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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