From db6eaaa0269b7e0b98161ed97216c2d3986d1ceb Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 10 Dec 2007 22:05:56 +0100 Subject: cscope 15.6-5 * Remove left over Emacs startup file (Closes: #454377) * Update to Standards-Version 3.7.3 (no changes needed) --- debian/cscope.preinst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 debian/cscope.preinst (limited to 'debian/cscope.preinst') diff --git a/debian/cscope.preinst b/debian/cscope.preinst new file mode 100644 index 0000000..be518b4 --- /dev/null +++ b/debian/cscope.preinst @@ -0,0 +1,24 @@ +#!/bin/sh + +cleanup_sitestart() { + if [ -e /etc/emacs/site-start.d/50cscope.el ]; then + rm -f /etc/emacs/site-start.d/50cscope.el + fi +} + +case "$1" in + upgrade) + cleanup_sitestart + ;; + + install|abort-upgrade) + ;; + + *) + echo "$0 called with unknown argument '$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# +exit 0 -- cgit v1.2.3-54-g00ecf