[Portland-bugs] [Bug 25563] New: xdg-mime default displays error when kde is not on the machine

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 10 06:29:52 PST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=25563

           Summary: xdg-mime default displays error when kde is not on the
                    machine
           Product: Portland
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
        AssignedTo: portland-bugs at lists.freedesktop.org
        ReportedBy: pterjan at gmail.com


code in make_default_kde contains:

    if [ x"$KDE_SESSION_VERSION" = x"4" ]; then
        default_dir=`kde4-config --path xdgdata-apps | cut -d ':' -f 1`
        default_file="$default_dir/mimeapps.list"
    else
        default_dir=`kde-config --path config | cut -d ':' -f 1`
        default_file="$default_dir/profilerc"
    fi

so it will give an error if kde-config is not available


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Portland-bugs mailing list