~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to debian/erlang.emacsen-remove

  • Committer: Bazaar Package Importer
  • Author(s): Erlang Packagers, Sergei Golovan
  • Date: 2006-12-03 17:07:44 UTC
  • mfrom: (2.1.11 feisty)
  • Revision ID: james.westby@ubuntu.com-20061203170744-rghjwupacqlzs6kv
Tags: 1:11.b.2-4
[ Sergei Golovan ]
Fixed erlang-base and erlang-base-hipe prerm scripts.

Show diffs side-by-side

added added

removed removed

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