[Pkg-xfce-commits] r5793 - desktop/trunk/xfce4-utils/debian

Yves-Alexis Perez corsac at alioth.debian.org
Sat Jun 18 07:06:10 UTC 2011


Author: corsac
Date: 2011-06-18 07:06:10 +0000 (Sat, 18 Jun 2011)
New Revision: 5793

Modified:
   desktop/trunk/xfce4-utils/debian/changelog
   desktop/trunk/xfce4-utils/debian/preinst
Log:
* New upstream bugfix release.
* debian/preinst:
  - remove the symlink before installing the new package since dpkg can't
    handle replacing a symlink by a folder automatically.

Modified: desktop/trunk/xfce4-utils/debian/changelog
===================================================================
--- desktop/trunk/xfce4-utils/debian/changelog	2011-06-17 06:56:46 UTC (rev 5792)
+++ desktop/trunk/xfce4-utils/debian/changelog	2011-06-18 07:06:10 UTC (rev 5793)
@@ -1,3 +1,12 @@
+xfce4-utils (4.8.2-1) UNRELEASED; urgency=low
+
+  * New upstream bugfix release.
+  * debian/preinst:
+    - remove the symlink before installing the new package since dpkg can't
+      handle replacing a symlink by a folder automatically.
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Sat, 18 Jun 2011 08:44:02 +0200
+
 xfce4-utils (4.8.1-2) unstable; urgency=low
 
   * Upload to unstable.

Modified: desktop/trunk/xfce4-utils/debian/preinst
===================================================================
--- desktop/trunk/xfce4-utils/debian/preinst	2011-06-17 06:56:46 UTC (rev 5792)
+++ desktop/trunk/xfce4-utils/debian/preinst	2011-06-18 07:06:10 UTC (rev 5793)
@@ -15,6 +15,14 @@
   /etc/xdg/autostart/xfconf-migration-4.6.desktop "4.8.1-1" -- "$@"
 fi
 
+# Remove symlinks for el which appeared in 4.8.2-1
+case "$1" in
+install|upgrade)
+    if dpkg --compare-versions "$2" lt "4.8.2-1"; then
+      [ -h /usr/share/doc/xfce4-utils/html/el/images ] && rm /usr/share/doc/xfce4-utils/html/el/images || true
+    fi
+esac
+
 #DEBHELPER#
 
 exit 0




More information about the Pkg-xfce-commits mailing list