root / pkpgcounter / trunk / debian / emacsen-remove.ex @ 458

Revision 458, 477 bytes (checked in by jerome, 17 years ago)

Added Debian packaging stuff.

Line 
1#!/bin/sh -e
2# /usr/lib/emacsen-common/packages/remove/pkpgcounter
3
4FLAVOR=$1
5PACKAGE=pkpgcounter
6
7if [ ${FLAVOR} != emacs ]; then
8    if test -x /usr/sbin/install-info-altdir; then
9        echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
10        install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/pkpgcounter.info.gz
11    fi
12
13    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
14    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
15fi
Note: See TracBrowser for help on using the browser.