diff -Naur xdg-utils-1.0.2.orig/scripts/xdg-desktop-icon xdg-utils-1.0.2/scripts/xdg-desktop-icon --- xdg-utils-1.0.2.orig/scripts/xdg-desktop-icon 2007-06-24 21:57:55.000000000 +0200 +++ xdg-utils-1.0.2/scripts/xdg-desktop-icon 2008-06-24 23:27:06.000000000 +0200 @@ -415,7 +415,7 @@ kfmclient_fix_exit_code() { - version=`kde-config --version 2>/dev/null | grep KDE` + version=`kde${KDE_SESSION_VERSION}-config --version 2>/dev/null | grep KDE` major=`echo $version | sed 's/KDE: \([0-9]\).*/\1/'` minor=`echo $version | sed 's/KDE: [0-9]*\.\([0-9]\).*/\1/'` release=`echo $version | sed 's/KDE: [0-9]*\.[0-9]*\.\([0-9]\).*/\1/'` diff -Naur xdg-utils-1.0.2.orig/scripts/xdg-desktop-menu xdg-utils-1.0.2/scripts/xdg-desktop-menu --- xdg-utils-1.0.2.orig/scripts/xdg-desktop-menu 2007-06-24 21:57:53.000000000 +0200 +++ xdg-utils-1.0.2/scripts/xdg-desktop-menu 2008-06-24 23:25:28.000000000 +0200 @@ -611,7 +611,7 @@ kfmclient_fix_exit_code() { - version=`kde-config --version 2>/dev/null | grep KDE` + version=`kde${KDE_SESSION_VERSION}-config --version 2>/dev/null | grep KDE` major=`echo $version | sed 's/KDE: \([0-9]\).*/\1/'` minor=`echo $version | sed 's/KDE: [0-9]*\.\([0-9]\).*/\1/'` release=`echo $version | sed 's/KDE: [0-9]*\.[0-9]*\.\([0-9]\).*/\1/'` diff -Naur xdg-utils-1.0.2.orig/scripts/xdg-email xdg-utils-1.0.2/scripts/xdg-email --- xdg-utils-1.0.2.orig/scripts/xdg-email 2007-06-24 21:58:04.000000000 +0200 +++ xdg-utils-1.0.2/scripts/xdg-email 2008-06-24 23:25:28.000000000 +0200 @@ -367,7 +367,7 @@ kfmclient_fix_exit_code() { - version=`kde-config --version 2>/dev/null | grep KDE` + version=`kde${KDE_SESSION_VERSION}-config --version 2>/dev/null | grep KDE` major=`echo $version | sed 's/KDE: \([0-9]\).*/\1/'` minor=`echo $version | sed 's/KDE: [0-9]*\.\([0-9]\).*/\1/'` release=`echo $version | sed 's/KDE: [0-9]*\.[0-9]*\.\([0-9]\).*/\1/'` diff -Naur xdg-utils-1.0.2.orig/scripts/xdg-icon-resource xdg-utils-1.0.2/scripts/xdg-icon-resource --- xdg-utils-1.0.2.orig/scripts/xdg-icon-resource 2007-06-24 21:57:59.000000000 +0200 +++ xdg-utils-1.0.2/scripts/xdg-icon-resource 2008-06-24 23:28:01.000000000 +0200 @@ -407,7 +407,7 @@ kfmclient_fix_exit_code() { - version=`kde-config --version 2>/dev/null | grep KDE` + version=`kde${KDE_SESSION_VERSION}-config --version 2>/dev/null | grep KDE` major=`echo $version | sed 's/KDE: \([0-9]\).*/\1/'` minor=`echo $version | sed 's/KDE: [0-9]*\.\([0-9]\).*/\1/'` release=`echo $version | sed 's/KDE: [0-9]*\.[0-9]*\.\([0-9]\).*/\1/'` diff -Naur xdg-utils-1.0.2.orig/scripts/xdg-mime xdg-utils-1.0.2/scripts/xdg-mime --- xdg-utils-1.0.2.orig/scripts/xdg-mime 2007-06-24 21:57:57.000000000 +0200 +++ xdg-utils-1.0.2/scripts/xdg-mime 2008-06-24 23:28:20.000000000 +0200 @@ -436,7 +436,7 @@ kfmclient_fix_exit_code() { - version=`kde-config --version 2>/dev/null | grep KDE` + version=`kde${KDE_SESSION_VERSION}-config --version 2>/dev/null | grep KDE` major=`echo $version | sed 's/KDE: \([0-9]\).*/\1/'` minor=`echo $version | sed 's/KDE: [0-9]*\.\([0-9]\).*/\1/'` release=`echo $version | sed 's/KDE: [0-9]*\.[0-9]*\.\([0-9]\).*/\1/'` diff -Naur xdg-utils-1.0.2.orig/scripts/xdg-open xdg-utils-1.0.2/scripts/xdg-open --- xdg-utils-1.0.2.orig/scripts/xdg-open 2007-06-24 21:58:01.000000000 +0200 +++ xdg-utils-1.0.2/scripts/xdg-open 2008-06-24 23:25:28.000000000 +0200 @@ -314,7 +314,7 @@ kfmclient_fix_exit_code() { - version=`kde-config --version 2>/dev/null | grep KDE` + version=`kde${KDE_SESSION_VERSION}-config --version 2>/dev/null | grep KDE` major=`echo $version | sed 's/KDE: \([0-9]\).*/\1/'` minor=`echo $version | sed 's/KDE: [0-9]*\.\([0-9]\).*/\1/'` release=`echo $version | sed 's/KDE: [0-9]*\.[0-9]*\.\([0-9]\).*/\1/'` diff -Naur xdg-utils-1.0.2.orig/scripts/xdg-screensaver xdg-utils-1.0.2/scripts/xdg-screensaver --- xdg-utils-1.0.2.orig/scripts/xdg-screensaver 2007-06-24 21:58:06.000000000 +0200 +++ xdg-utils-1.0.2/scripts/xdg-screensaver 2008-06-24 23:25:28.000000000 +0200 @@ -344,7 +344,7 @@ kfmclient_fix_exit_code() { - version=`kde-config --version 2>/dev/null | grep KDE` + version=`kde${KDE_SESSION_VERSION}-config --version 2>/dev/null | grep KDE` major=`echo $version | sed 's/KDE: \([0-9]\).*/\1/'` minor=`echo $version | sed 's/KDE: [0-9]*\.\([0-9]\).*/\1/'` release=`echo $version | sed 's/KDE: [0-9]*\.[0-9]*\.\([0-9]\).*/\1/'`