summaryrefslogtreecommitdiffstats
path: root/main/xdg-utils/xfce.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-03-21 21:31:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-03-21 21:31:25 +0000
commit23f948cbcb5ee57ac7f3a14e9e363460a0f9eead (patch)
tree3401cf302fa542ff9355ad00b7e684a06d1949fc /main/xdg-utils/xfce.patch
parent34e12c2e762186865a5a324d1450b408f7c4d1e3 (diff)
downloadaports-23f948cbcb5ee57ac7f3a14e9e363460a0f9eead.tar.bz2
aports-23f948cbcb5ee57ac7f3a14e9e363460a0f9eead.tar.xz
main/xdg-utils: moved from testing
Diffstat (limited to 'main/xdg-utils/xfce.patch')
-rw-r--r--main/xdg-utils/xfce.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/xdg-utils/xfce.patch b/main/xdg-utils/xfce.patch
new file mode 100644
index 000000000..3899a99a5
--- /dev/null
+++ b/main/xdg-utils/xfce.patch
@@ -0,0 +1,13 @@
+diff --git a/scripts/xdg-open b/scripts/xdg-open
+index 4cc18a8..e7ed9c3 100755
+--- a/scripts/xdg-open
++++ b/scripts/xdg-open
+@@ -303,7 +303,7 @@ detectDE()
+ {
+ if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde;
+ elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;
+- elif xprop -root _DT_SAVE_MODE | grep ' = \"xfce4\"$' >/dev/null 2>&1; then DE=xfce;
++ elif [ -x /usr/bin/exo-open ]; then DE=xfce;
+ fi
+ }
+