diffstat for cscope-15.7a cscope-15.7a

 changelog                |    8 ++++++++
 cscope-el.emacsen-remove |    4 +++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff -Nru cscope-15.7a/debian/changelog cscope-15.7a/debian/changelog
--- cscope-15.7a/debian/changelog	2010-11-13 15:51:58.000000000 +0200
+++ cscope-15.7a/debian/changelog	2011-01-07 11:47:00.000000000 +0200
@@ -1,3 +1,11 @@
+cscope (15.7a-3.3) unstable; urgency=low
+
+  * debian/cscope-el.emacsen-remove
+    - (ELCDIR): New variable. Fix path of *.elc during remove.
+      (Closes: #608985).
+
+ -- Jari Aalto <jari.aalto@cante.net>  Fri, 07 Jan 2011 11:47:00 +0200
+
 cscope (15.7a-3.2) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru cscope-15.7a/debian/cscope-el.emacsen-remove cscope-15.7a/debian/cscope-el.emacsen-remove
--- cscope-15.7a/debian/cscope-el.emacsen-remove	2010-05-08 11:32:47.000000000 +0300
+++ cscope-15.7a/debian/cscope-el.emacsen-remove	2011-01-07 11:53:58.000000000 +0200
@@ -3,9 +3,11 @@
 
 FLAVOUR=$1
 PACKAGE=cscope
+
+ELCDIR=/usr/share/$FLAVOUR/site-lisp/$PACKAGE
 ELCFILE=xcscope.elc
 
 if [ $FLAVOUR != emacs ]; then
 	echo "remove/$PACKAGE: Purging byte-compiled files for $FLAVOUR"
-	rm -f /usr/share/$FLAVOUR/site-lisp/$ELCFILE
+	rm -vf $ELCDIR/$ELCFILE
 fi

