1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-23 12:24:39 +02:00
xburst-tools/flash-tool/debian/emacsen-remove.ex
2009-06-22 15:06:58 +00:00

16 lines
471 B
Bash

#!/bin/sh -e
# /usr/lib/emacsen-common/packages/remove/inflash
FLAVOR=$1
PACKAGE=inflash
if [ ${FLAVOR} != emacs ]; then
if test -x /usr/sbin/install-info-altdir; then
echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/share/info/inflash.info.gz
fi
echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
fi