Author: apo-guest
Date: 2013-07-01 20:22:05 +0000 (Mon, 01 Jul 2013)
New Revision: 14394

Added:
   packages/trunk/monsterz/debian/preinst
Removed:
   packages/trunk/monsterz/debian/monsterz.links
Log:
Remove monsterz.links. Add preinst script.



Deleted: packages/trunk/monsterz/debian/monsterz.links
===================================================================
--- packages/trunk/monsterz/debian/monsterz.links       2013-07-01 17:58:44 UTC 
(rev 14393)
+++ packages/trunk/monsterz/debian/monsterz.links       2013-07-01 20:22:05 UTC 
(rev 14394)
@@ -1 +0,0 @@
-/usr/share/doc/monsterz-data /usr/share/doc/monsterz

Added: packages/trunk/monsterz/debian/preinst
===================================================================
--- packages/trunk/monsterz/debian/preinst                              (rev 0)
+++ packages/trunk/monsterz/debian/preinst      2013-07-01 20:22:05 UTC (rev 
14394)
@@ -0,0 +1,11 @@
+#!/bin/sh
+# dpkg does not replace symlinks with directories and vice versa, therefore
+# maintainer scripts need to be used.
+set -e
+
+if [ -L /usr/share/doc/monsterz ] ; then
+    rm -f /usr/share/doc/monsterz
+fi
+
+#DEBHELPER#
+


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

Reply via email to