Bug#679591: Fix for upgrade failure

2012-07-16 Thread Hilko Bengen
tags 679591 patch
thank you

I have been able to reproduce the problem while installing emacs24.

Updating the emacsen-install file from the current template shipped with
dh-make fixes the issue.

Cheers,
-Hilko

diff --git a/debian/emacsen-install b/debian/emacsen-install
old mode 100644
new mode 100755
index a63618f..d57c857
--- a/debian/emacsen-install
+++ b/debian/emacsen-install
@@ -27,6 +27,7 @@ FLAGS=${SITEFLAG} -q -batch -l path.el -f batch-byte-compile
 
 ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
 ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+ELRELDIR=../../../emacs/site-lisp/${PACKAGE}
 
 # Install-info-altdir does not actually exist. 
 # Maybe somebody will write it.
@@ -39,8 +40,8 @@ fi
 install -m 755 -d ${ELCDIR}
 cd ${ELDIR}
 FILES=`echo *.el`
-cp ${FILES} ${ELCDIR}
 cd ${ELCDIR}
+ln -sf ${ELRELDIR}/*.el .
 
 cat  EOF  path.el
 (setq load-path (cons . load-path))
@@ -48,9 +49,6 @@ cat  EOF  path.el
 (setq byte-compile-warnings nil)
 EOF
 ${FLAVOR} ${FLAGS} ${FILES}
-rm -f *.el path.el
-# Add back a symlink to the source file so that it is present on
-# load-path.  Closes: #311382
-ln -s ${ELDIR}/python-mode.el
+rm -f path.el
 
 exit 0


Bug#679591: Fix for upgrade failure

2012-07-16 Thread Hilko Bengen
I just NMU'd 1:6.0.10-1.1 which fixes this bug. Here's the relevant part
of the changelog


python-mode (1:6.0.10-1.1) unstable; urgency=low

  * Non-maintainer upload
  * Fixed upgrade failure (Closes: #679591)

 -- Hilko Bengen ben...@debian.org  Mon, 16 Jul 2012 21:12:00 +0200



Cheers,
-Hilko


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org