Bug#681016: [release.debian.org] unblock: dotlrn/2.5.0+dfsg-8
- To: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Cc: "Francesco P. Lovergine" <frankie@debian.org>, 681016@bugs.debian.org, Andreas Beckmann <debian@abeckmann.de>
- Subject: Bug#681016: [release.debian.org] unblock: dotlrn/2.5.0+dfsg-8
- From: Hector Romojaro <hromojaro@dia.uned.es>
- Date: Fri, 04 Jan 2013 16:00:05 +0100
- Message-id: <1357311605.5030.132.camel@bulma>
- Reply-to: Hector Romojaro <hromojaro@dia.uned.es>, 681016@bugs.debian.org
- In-reply-to: <1356872087.4281.37.camel@jacala.jungle.funky-badger.org>
- References: <1349203722.14024.15.camel@jacala.jungle.funky-badger.org> <1341873643.13656.80.camel@bulma> <handler.s.B681016.134920381527971.transcript@bugs.debian.org> <20121229184126.GX6335@mykerinos.kheops.frmug.org> <1356825689.4281.24.camel@jacala.jungle.funky-badger.org> <20121230072106.GF6335@mykerinos.kheops.frmug.org> <20121230094932.GA4835@homebox.lovergine.com> <1356872087.4281.37.camel@jacala.jungle.funky-badger.org>
Control: reopen -1
Hi!
Andreas Beackmann reported an issue with the old config management fix
when the package is in "config files remaining" state (please see
#688435 for details), and provided a small fix for it.
I have applied the fix (please find debdiff between wheezy3 and wheezy4
attached) and would like to ask for it to be uploaded to wheezy.
@Frankie: new version is already in svn, could you please upload to
t-p-u if the changes are accepted?
Thanks in advance!
Kind regards,
Héctor
diff -u dotlrn-2.5.0+dfsg/debian/changelog dotlrn-2.5.0+dfsg/debian/changelog
--- dotlrn-2.5.0+dfsg/debian/changelog
+++ dotlrn-2.5.0+dfsg/debian/changelog
@@ -1,3 +1,11 @@
+dotlrn (2.5.0+dfsg-6+wheezy4) testing-proposed-updates; urgency=low
+
+ * Fixed old config management in preinst when the package is in
+ "config files remaining" state (thanks to Andreas Beckmann for
+ reporting this and providing the fix). Closes: #688435
+
+ -- Hector Romojaro <hromojaro@dia.uned.es> Fri, 04 Jan 2013 14:31:49 +0100
+
dotlrn (2.5.0+dfsg-6+wheezy3) testing-proposed-updates; urgency=low
* Fixed aolserver restart call in postrm.
diff -u dotlrn-2.5.0+dfsg/debian/dotlrn.preinst dotlrn-2.5.0+dfsg/debian/dotlrn.preinst
--- dotlrn-2.5.0+dfsg/debian/dotlrn.preinst
+++ dotlrn-2.5.0+dfsg/debian/dotlrn.preinst
@@ -4,10 +4,7 @@
case "$1" in
-install)
- ;;
-
-upgrade)
+install|upgrade)
# If we're upgrading from 2.5.0+dfsg-6+wheezy1 or earlier, we have to
# deal with config.tcl which was marked as a conffile and
# modified by postinst script.
@@ -18,7 +15,7 @@
#
# See Bug #688435
#
- if dpkg --compare-versions "$2" le "2.5.0+dfsg-6+wheezy1"
+ if dpkg --compare-versions "$2" le-nl "2.5.0+dfsg-6+wheezy1"
then
# First, make a copy so we can get the old config values
cp /etc/dotlrn/config.tcl /etc/dotlrn/config.tcl.old_version
Reply to: