ntfs-config (1.0.1-9) kdesu.patch

Summary

 ntfs-config-root.in |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

--- a/ntfs-config-root.in
+++ b/ntfs-config-root.in
@@ -53,12 +53,12 @@
         desktop = get_desktop()
         if desktop == "GNOME" and test_cmd("gksu") :
             auth = "gksu"
-        elif desktop == "KDE" and test_cmd("kdesu") :
-            auth = "kdesu"
+        elif desktop == "KDE" and test_cmd("/usr/lib/kde4/libexec/kdesu") :
+            auth = "/usr/lib/kde4/libexec/kdesu"
         elif test_cmd("gksu") :
             auth = "gksu"
-        elif test_cmd("kdesu") :
-            auth = "kdesu"   
+        elif test_cmd("/usr/lib/kde4/libexec/kdesu") :
+            auth = "/usr/lib/kde4/libexec/kdesu"   
         else :
             dialog("error", _("No authentication program founds"), \
                 _("ntfs-config need to be run as root, but I can't find\n"