~ubuntu-branches/ubuntu/precise/ruby1.9.1/precise-proposed

« back to all changes in this revision

Viewing changes to debian/ruby1.9.1-elisp.emacsen-remove

  • Committer: Bazaar Package Importer
  • Author(s): Lucas Nussbaum
  • Date: 2009-07-30 19:06:31 UTC
  • Revision ID: james.westby@ubuntu.com-20090730190631-3x30w2mtev71ah62
Tags: 1.9.1.243-0ubuntu1
* Upload snapshot from Debian's pkg-ruby SVN repository to karmic.
  SVN revision: 235.
  Likely to be similar to the final package uploaded to Debian.
  Known issues:
  + lintian warnings/errors (nothing important)

Show diffs side-by-side

added added

removed removed

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