Debian Codegraph @

debian/emacsen-remove

raw symbols SCIP
1 #! /bin/shscip-shell filesystem . . `/bin/sh`.
2 # /usr/lib/emacsen-common/packages/remove/ddskk
3 set -e
4
5 FLAVOR=$1
6 PACKAGE=ddskk
7
8 if [scip-shell system . . `[`. -z "${FLAVOR}" ]; then exit 1; fi
9
10 case $FLAVOR in
11 emacs23|emacs22|emacs21|emacs20|emacs19|mule2|*xemacs*)
12 exit 0
13 ;;
14 esac
15
16 if testscip-shell system . . test. -x /usr/sbin/install-info-altdirscip-shell filesystem . . `/usr/sbin/install-info-altdir`.; then
17 echoscip-shell system . . echo. remove/${PACKAGE}: removing Info links for ${FLAVOR}
18 install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/skk.info.gzscip-shell filesystem . . `/usr/share/info/skk.info.gz`.
19 fi
20
21 ELCDIR=/usr/share/$FLAVOR/site-lisp/$PACKAGE
22
23 echoscip-shell system . . echo. "remove/$PACKAGE: purging byte-compiled files for $FLAVOR"
24 rmscip-shell system . . rm. -rf "$ELCDIR"
25 if [scip-shell system . . `[`. -L "/etc/$FLAVOR/site-start.d/50$PACKAGE.el" ]; then
26 rmscip-shell system . . rm. -f "/etc/$FLAVOR/site-start.d/50$PACKAGE.el"
27 fi
28 exit 0