[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#856812: unblock: wolf4sdl/1.7+svn262+dfsg1-4



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package wolf4sdl. The version I uploaded today has a minimal
change to fix a piuparts error (if you install wolf4sdl in jessie, remove it
without purging it, upgrade to stretch, and install current stretch wolf4sdl,
the second installation fails).

unblock wolf4sdl/1.7+svn262+dfsg1-4

Thanks,
    S
diffstat for wolf4sdl-1.7+svn262+dfsg1 wolf4sdl-1.7+svn262+dfsg1

 changelog        |   10 ++++++++++
 wolf4sdl.preinst |    3 ++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff -Nru wolf4sdl-1.7+svn262+dfsg1/debian/changelog wolf4sdl-1.7+svn262+dfsg1/debian/changelog
--- wolf4sdl-1.7+svn262+dfsg1/debian/changelog	2015-05-05 08:19:18.000000000 +0100
+++ wolf4sdl-1.7+svn262+dfsg1/debian/changelog	2017-03-04 17:25:10.000000000 +0000
@@ -1,3 +1,13 @@
+wolf4sdl (1.7+svn262+dfsg1-4) unstable; urgency=medium
+
+  * Team upload.
+  * Only remove the alternative for /usr/games/wolf4sdl if it exists.
+    This fixes the following sequence: install wolf4sdl in jessie,
+    remove (but do not purge) wolf4sdl, upgrade from jessie to stretch,
+    and install wolf4sdl again. (Closes: #856722)
+
+ -- Simon McVittie <smcv@debian.org>  Sat, 04 Mar 2017 17:25:10 +0000
+
 wolf4sdl (1.7+svn262+dfsg1-3) unstable; urgency=low
 
   * Enable parallel builds (Closes: #724522).
diff -Nru wolf4sdl-1.7+svn262+dfsg1/debian/wolf4sdl.preinst wolf4sdl-1.7+svn262+dfsg1/debian/wolf4sdl.preinst
--- wolf4sdl-1.7+svn262+dfsg1/debian/wolf4sdl.preinst	2015-05-05 08:13:58.000000000 +0100
+++ wolf4sdl-1.7+svn262+dfsg1/debian/wolf4sdl.preinst	2017-03-04 17:25:10.000000000 +0000
@@ -3,7 +3,8 @@
 
 if [ "$1" = "install" ] || [ "$1" = "upgrade" ]
 then
-  if dpkg --compare-versions "$2" lt-nl "1.7+svn262+dfsg1-3~"
+  if dpkg --compare-versions "$2" lt-nl "1.7+svn262+dfsg1-3~" && \
+      [ -L /etc/alternatives/wolf4sdl ]
   then
     update-alternatives --quiet --remove-all wolf4sdl
   fi

Reply to: