~ubuntu-branches/ubuntu/hardy/smplayer/hardy

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Breuil Cyril
  • Date: 2007-06-24 16:35:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070624163529-hhckbmd24uicada7
Tags: 0.5.20-0ubuntu1
* New upstream release
* Change Maintainer Email

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
# /usr/lib/emacsen-common/packages/remove/smplayer
 
3
 
 
4
FLAVOR=$1
 
5
PACKAGE=smplayer
 
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/info/smplayer.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