unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob a555320983dcf693f3ed82fdf867c4dcd1c102c0 712 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
 
#!/bin/sh
# /usr/lib/emacsen-common/packages/remove/notmuch

set -e

FLAVOR=$1
PACKAGE=notmuch
elc_dir=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}

case "${FLAVOR}" in
    emacs)
	return 0
	;;
    xemacs*|emacs2[12])
	# patches welcome.
	echo install/${PACKAGE}: skipping removal for unsupported emacsen flavor ${FLAVOR}
	exit 0
	;;
    *)
	echo remove/${PACKAGE}: Handling removal for emacsen flavor ${FLAVOR}
esac

echo remove/${PACKAGE}: 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;

debug log:

solving a555320 ...
found a555320 in https://yhetil.org/notmuch.git/

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).