PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/debian/emacsen-remove

http://github.com/tybor/Liberty
Shell | 15 lines | 10 code | 3 blank | 2 comment | 5 complexity | 59337a86767bec7dd9ed36607a0a955f MD5 | raw file
 1#!/bin/sh -e
 2# /usr/lib/emacsen-common/packages/remove/libertyeiffel
 3
 4FLAVOR=$1
 5PACKAGE=libertyeiffel
 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/share/info/libertyeiffel.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