Author: alfie
Date: 2008-04-18 12:49:37 +0000 (Fri, 18 Apr 2008)
New Revision: 6640

Added:
   packages/trunk/wesnoth/debian/wesnoth-all.postinst
   packages/trunk/wesnoth/debian/wesnoth-editor.postinst
   packages/trunk/wesnoth/debian/wesnoth.postinst
Modified:
   packages/trunk/wesnoth/debian/changelog
Log:
  * Create postinst hooks to change the (hopefully) empty doc dirs of wesnoth,
    wesnoth-editor and wesnoth-all to symlinks to wesnoth-data.


Modified: packages/trunk/wesnoth/debian/changelog
===================================================================
--- packages/trunk/wesnoth/debian/changelog     2008-04-18 11:10:27 UTC (rev 
6639)
+++ packages/trunk/wesnoth/debian/changelog     2008-04-18 12:49:37 UTC (rev 
6640)
@@ -1,3 +1,10 @@
+wesnoth (1:1.4.1-2) unstable; urgency=low
+
+  * Create postinst hooks to change the (hopefully) empty doc dirs of wesnoth,
+    wesnoth-editor and wesnoth-all to symlinks to wesnoth-data.
+
+ -- Gerfried Fuchs <[EMAIL PROTECTED]>  Fri, 18 Apr 2008 11:53:02 +0200
+
 wesnoth (1:1.4.1-1) unstable; urgency=low
 
   * New upstream release:

Added: packages/trunk/wesnoth/debian/wesnoth-all.postinst
===================================================================
--- packages/trunk/wesnoth/debian/wesnoth-all.postinst                          
(rev 0)
+++ packages/trunk/wesnoth/debian/wesnoth-all.postinst  2008-04-18 12:49:37 UTC 
(rev 6640)
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+# postinst script for wesnoth-all
+# copyright 2008 by Gerfried Fuchs <[EMAIL PROTECTED]>
+# Licenced the same way as wesnoth itself
+
+if [ "$1" = configure ] && [ -d /usr/share/doc/wesnoth-all ] \
+       && rmdir /usr/share/doc/wesnoth-all ; then
+
+       ln -s wesnoth-data /usr/share/doc/wesnoth-all
+fi
+
+#DEBHELPER#

Added: packages/trunk/wesnoth/debian/wesnoth-editor.postinst
===================================================================
--- packages/trunk/wesnoth/debian/wesnoth-editor.postinst                       
        (rev 0)
+++ packages/trunk/wesnoth/debian/wesnoth-editor.postinst       2008-04-18 
12:49:37 UTC (rev 6640)
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+# postinst script for wesnoth-editor
+# copyright 2008 by Gerfried Fuchs <[EMAIL PROTECTED]>
+# Licenced the same way as wesnoth itself
+
+if [ "$1" = configure ] && [ -d /usr/share/doc/wesnoth-editor ] \
+       && rmdir /usr/share/doc/wesnoth-editor ; then
+
+       ln -s wesnoth-data /usr/share/doc/wesnoth-editor
+fi
+
+#DEBHELPER#

Added: packages/trunk/wesnoth/debian/wesnoth.postinst
===================================================================
--- packages/trunk/wesnoth/debian/wesnoth.postinst                              
(rev 0)
+++ packages/trunk/wesnoth/debian/wesnoth.postinst      2008-04-18 12:49:37 UTC 
(rev 6640)
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+# postinst script for wesnoth
+# copyright 2008 by Gerfried Fuchs <[EMAIL PROTECTED]>
+# Licenced the same way as wesnoth itself
+
+if [ "$1" = configure ] && [ -d /usr/share/doc/wesnoth ] \
+       && rmdir /usr/share/doc/wesnoth ; then
+
+       ln -s wesnoth-data /usr/share/doc/wesnoth
+fi
+
+#DEBHELPER#


_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to