HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/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;