[Pkg-sdl-commits] [SCM] Debian packaging of SDL_gfx branch, master, updated. debian/2.0.23-2-4-g2e76c67

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Mon Feb 18 13:10:57 UTC 2013


The following commit has been merged in the master branch:
commit 2e76c676dcc697a1e34c1c4df267b3d02c594774
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date:   Sun Feb 17 23:35:52 2013 +0000

    Add libsdl-gfx1.2-dev.preinst to remove /usr/share/doc/libsdl-gfx1.2-dev symlink to libsdl-gfx1.2-4
    
    Add libsdl-gfx1.2-dev.preinst to remove /usr/share/doc/libsdl-gfx1.2-dev symlink
    to libsdl-gfx1.2-4, if existing from previous versions of the package (it was
    like that in Squeeze).  Otherwise, when -dev is removed, it removes files from
    the libsdl-gfx1.2-4.
    
    Thanks to Andreas Beckmann for the report (Closes: #700785).

diff --git a/debian/changelog b/debian/changelog
index e9bb5b5..4c734a4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+sdlgfx (2.0.23-3) unstable; urgency=low
+
+  * Add libsdl-gfx1.2-dev.preinst to remove /usr/share/doc/libsdl-gfx1.2-dev
+    symlink to libsdl-gfx1.2-4, if existing from previous versions of the
+    package (it was like that in Squeeze).  Otherwise, when -dev is removed, it
+    removes files from the libsdl-gfx1.2-4.  Thanks to Andreas Beckmann for the
+    report (Closes: #700785).
+
+ -- Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>  Sun, 17 Feb 2013 23:32:26 +0000
+
 sdlgfx (2.0.23-2) unstable; urgency=high
 
   [ Steve Langasek ]
diff --git a/debian/libsdl-gfx1.2-dev.preinst b/debian/libsdl-gfx1.2-dev.preinst
new file mode 100644
index 0000000..815d1ec
--- /dev/null
+++ b/debian/libsdl-gfx1.2-dev.preinst
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+# bug #700785, was a symlink to 'libsdl-gfx1.2-4' in the past, so it will remove
+# files from there (e.g. debian/copyright)
+DOCDIR=/usr/share/doc/libsdl-gfx1.2-dev
+if [ -L "$DOCDIR" ]; then
+    rm "$DOCDIR"
+fi
+
+
+#DEBHELPER#

-- 
Debian packaging of SDL_gfx



More information about the pkg-sdl-commits mailing list