~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to utils/debian/emacsen-remove.ex

  • Committer: root
  • Date: 2010-07-04 12:15:06 UTC
  • mto: (0.30.6 release-1.3-dev)
  • mto: This revision was merged to the branch mainline in revision 2259.
  • Revision ID: root@debian-lenny-amd64-20100704121506-v4gosmx61q03hz1f
Added Debian rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
# /usr/lib/emacsen-common/packages/remove/xtrabackup
 
3
 
 
4
FLAVOR=$1
 
5
PACKAGE=xtrabackup
 
6
 
 
7
if [ ${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/share/info/xtrabackup.info.gz
 
11
    fi
 
12
 
 
13
    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
 
14
    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
 
15
fi