[xml/sgml-commit] r900 - in /packages/docbook-simple/trunk/debian: changelog docbook-simple.preinst
dleidert-guest at users.alioth.debian.org
dleidert-guest at users.alioth.debian.org
Wed Sep 26 20:15:07 UTC 2007
Author: dleidert-guest
Date: Wed Sep 26 20:15:07 2007
New Revision: 900
URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=900
Log:
* debian/docbook-simple.preinst: Just a small rewrite.
Modified:
packages/docbook-simple/trunk/debian/changelog
packages/docbook-simple/trunk/debian/docbook-simple.preinst
Modified: packages/docbook-simple/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-simple/trunk/debian/changelog?rev=900&op=diff
==============================================================================
--- packages/docbook-simple/trunk/debian/changelog (original)
+++ packages/docbook-simple/trunk/debian/changelog Wed Sep 26 20:15:07 2007
@@ -4,6 +4,7 @@
[ Daniel Leidert ]
* debian/control: Homepage field transition.
+ * debian/docbook-simple.preinst: Just a small rewrite.
* debian/watch: Added watch file.
-- Daniel Leidert (dale) <daniel.leidert at wgdd.de> Sat, 05 May 2007 00:34:51 +0200
Modified: packages/docbook-simple/trunk/debian/docbook-simple.preinst
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-simple/trunk/debian/docbook-simple.preinst?rev=900&op=diff
==============================================================================
--- packages/docbook-simple/trunk/debian/docbook-simple.preinst (original)
+++ packages/docbook-simple/trunk/debian/docbook-simple.preinst Wed Sep 26 20:15:07 2007
@@ -5,16 +5,11 @@
set -e
-if [ "$1" = configure ]; then
-
- # Remove simple directory, if it exists
- if [ -d /usr/share/sgml/docbook/custom/simple ] ; then
- rm -rf /usr/share/sgml/docbook/custom/simple
- fi
-
+# workaround the lack of good solution to migrate a directory to a
+# compat symlink
+if [ -d /usr/share/sgml/docbook/custom/simple ]
+then
+ rm -rf /usr/share/sgml/docbook/custom/simple
fi
#DEBHELPER#
-
-exit 0
-
More information about the debian-xml-sgml-commit
mailing list