%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/emacsen-common/packages/remove/
Upload File :
Create Path :
Current File : //lib/emacsen-common/packages/remove/dictionaries-common

#!/bin/sh
#
# emacsen remove script for the Debian GNU/Linux
# dictionaries-common package
#
# Written by Rafael Laboissiere <rafael@debian.org> and
# Agustin Martin <agmartin@debian.org> based on
# Dirk Eddelbuettel <edd@debian.org> script for the octave package.
# -----------------------------------------------------------------

set -e

# Canadian spelling ;-)
flavour=$1

package=dictionaries-common
destination=/usr/share/${flavour}/site-lisp/${package}

if [ -d $destination ]; then
    echo remove/${package}: Purging byte-compiled files for flavour ${flavour}
    rm -f ${destination}/*.elc ${destination}/*.el ${destination}/done ${destination}/.nosearch
    rmdir --ignore-fail-on-non-empty ${destination}
fi

exit 0;

Zerion Mini Shell 1.0