26 lines
730 B
Bash
Executable File
26 lines
730 B
Bash
Executable File
#!/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;
|