[Pkg-xfce-commits] r3078 - desktop/trunk/thunar/debian
corsac at alioth.debian.org
corsac at alioth.debian.org
Sat Apr 4 18:41:40 UTC 2009
Author: corsac
Date: 2009-04-04 18:41:39 +0000 (Sat, 04 Apr 2009)
New Revision: 3078
Modified:
desktop/trunk/thunar/debian/changelog
desktop/trunk/thunar/debian/libthunar-vfs-1-2.postinst
desktop/trunk/thunar/debian/libthunar-vfs-1-dev.postinst
desktop/trunk/thunar/debian/thunar.postinst
Log:
* debian/*postinst:
- stop messing with the thunar-data symlink, and try removing it if it
exists.
Modified: desktop/trunk/thunar/debian/changelog
===================================================================
--- desktop/trunk/thunar/debian/changelog 2009-04-04 16:33:25 UTC (rev 3077)
+++ desktop/trunk/thunar/debian/changelog 2009-04-04 18:41:39 UTC (rev 3078)
@@ -2,8 +2,11 @@
* debian/control:
- move lib to libs section and -dev to libdevel.
+ * debian/*postinst:
+ - stop messing with the thunar-data symlink, and try removing it if it
+ exists.
- -- Yves-Alexis Perez <corsac at debian.org> Sat, 04 Apr 2009 14:37:43 +0200
+ -- Yves-Alexis Perez <corsac at debian.org> Sat, 04 Apr 2009 19:05:39 +0200
thunar (1.0.0-2) unstable; urgency=low
Modified: desktop/trunk/thunar/debian/libthunar-vfs-1-2.postinst
===================================================================
--- desktop/trunk/thunar/debian/libthunar-vfs-1-2.postinst 2009-04-04 16:33:25 UTC (rev 3077)
+++ desktop/trunk/thunar/debian/libthunar-vfs-1-2.postinst 2009-04-04 18:41:39 UTC (rev 3078)
@@ -1,9 +1,8 @@
#!/bin/sh -e
-if [ "$1" = "configure" ]; then
- # Frob /usr/share/doc so we don't needlessly duplicate things
- rmdir /usr/share/doc/libthunar-vfs-1-2 2>/dev/null || true
- cd /usr/share/doc && ln -sf thunar-data libthunar-vfs-1-2
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" eq "1.0.0-2";
+then
+ cd /usr/share/doc/libthunar-vfs-1-2 && rm -f thunar-data
fi
#DEBHELPER#
Modified: desktop/trunk/thunar/debian/libthunar-vfs-1-dev.postinst
===================================================================
--- desktop/trunk/thunar/debian/libthunar-vfs-1-dev.postinst 2009-04-04 16:33:25 UTC (rev 3077)
+++ desktop/trunk/thunar/debian/libthunar-vfs-1-dev.postinst 2009-04-04 18:41:39 UTC (rev 3078)
@@ -1,9 +1,8 @@
#!/bin/sh -e
-if [ "$1" = "configure" ]; then
- # Frob /usr/share/doc so we don't needlessly duplicate things
- rmdir /usr/share/doc/libthunar-vfs-1-dev 2>/dev/null || true
- cd /usr/share/doc && ln -sf thunar-data libthunar-vfs-1-dev
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" eq "1.0.0-2";
+then
+ cd /usr/share/doc/libthunar-vfs-1-dev && rm -f thunar-data
fi
#DEBHELPER#
Modified: desktop/trunk/thunar/debian/thunar.postinst
===================================================================
--- desktop/trunk/thunar/debian/thunar.postinst 2009-04-04 16:33:25 UTC (rev 3077)
+++ desktop/trunk/thunar/debian/thunar.postinst 2009-04-04 18:41:39 UTC (rev 3078)
@@ -1,9 +1,8 @@
#!/bin/sh -e
-if [ "$1" = "configure" ]; then
- # Frob /usr/share/doc so we don't needlessly duplicate things
- rmdir /usr/share/doc/thunar 2>/dev/null || true
- cd /usr/share/doc && ln -sf thunar-data thunar
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" eq "1.0.0-2";
+then
+ cd /usr/share/doc/thunar && rm -f thunar-data
fi
#DEBHELPER#
More information about the Pkg-xfce-commits
mailing list