#!/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;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
changelog.gz | File | 3.07 KB | 0644 |
|
copyright | File | 431 B | 0644 |
|
debian-emacs-policy.gz | File | 4.77 KB | 0644 |
|
sample-package-install-foo | File | 825 B | 0644 |
|
sample-package-remove-foo | File | 476 B | 0644 |
|