Package: ntfs-config

kdesu is not in $PATH in KDE 4, it's in /usr/lib/kde4/libexec/kdesu

This patch fixes that

See https://bugs.edge.launchpad.net/ntfs-config/+bug/503847

--- ntfs-config/ntfs-config-root.in 2010-01-05 17:30:54.000000000    +0000
+++ ntfs-config/ntfs-config-root.in 2010-01-05 17:44:38.000000000    +0000
@@ -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"



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to