Linux puskom-ProLiant-DL385-Gen10 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64
/
usr
/
share
/
doc
/
emacsen-common
/
//usr/share/doc/emacsen-common/sample-package-remove-foo
#!/bin/sh # /usr/lib/emacsen-common/packages/remove/foo # [ Sample only -- this script hasn't been tested, so be careful. ] set -e FLAVOR=$1 elc_dir=/usr/share/${FLAVOR}/site-lisp/foo echo remove/foo: Handling removal of emacsen flavor ${FLAVOR} echo emacsen-common: purging byte-compiled files for ${FLAVOR} rm -f ${elc_dir}/*.elc rm -f ${elc_dir}/*.el rm -f ${elc_dir}/Install.log* if test -e "${elc_dir}" then rmdir --ignore-fail-on-non-empty "${elc_dir}" fi exit 0;