[Pkg-xfce-commits] r6025 - desktop/trunk/xfce4-session/debian

Yves-Alexis Perez corsac at alioth.debian.org
Tue Sep 13 09:51:47 UTC 2011


Author: corsac
Date: 2011-09-13 21:51:47 +0000 (Tue, 13 Sep 2011)
New Revision: 6025

Modified:
   desktop/trunk/xfce4-session/debian/changelog
   desktop/trunk/xfce4-session/debian/preinst
Log:
* debian/preinst:
  - handle /usr/share/doc/xfce4-session/html/el/images symlink beeing
    replaced by a real directory.

Modified: desktop/trunk/xfce4-session/debian/changelog
===================================================================
--- desktop/trunk/xfce4-session/debian/changelog	2011-09-13 21:46:59 UTC (rev 6024)
+++ desktop/trunk/xfce4-session/debian/changelog	2011-09-13 21:51:47 UTC (rev 6025)
@@ -9,6 +9,9 @@
       05_force-xfsettingsd-start refreshed.
   * debian/rules, debian/preinst, debian/postinst, debian/postrm:
     - don't start tips by default, they're completely outdated. closes: #640984
+  * debian/preinst:
+    - handle /usr/share/doc/xfce4-session/html/el/images symlink beeing
+      replaced by a real directory.
 
  -- Yves-Alexis Perez <corsac at debian.org>  Tue, 13 Sep 2011 23:21:31 +0200
 

Modified: desktop/trunk/xfce4-session/debian/preinst
===================================================================
--- desktop/trunk/xfce4-session/debian/preinst	2011-09-13 21:46:59 UTC (rev 6024)
+++ desktop/trunk/xfce4-session/debian/preinst	2011-09-13 21:51:47 UTC (rev 6025)
@@ -3,6 +3,15 @@
 dpkg-maintscript-helper rm_conffile \
   /etc/xdg/autostart/xfce4-tips-autostart.desktop 4.8.1-4 -- "$@"
 
+# Remove symlink for el, replaced by a folder 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-session/html/el/images ] && rm /usr/share/doc/xfce4-session/html/el/images || true
+    fi
+esac
+
+
 #DEBHELPER#
 
 exit 0




More information about the Pkg-xfce-commits mailing list