A temporary workaround is to comment out the old command and use gvfs-
info instead

info_gnome()
{
    file=`readlink -f "$1"` # Normalize path
    DEBUG 1 "Running gnomevfs-info \"$file\""
    #gnomevfs-info "$file" 2> /dev/null | grep MIME | cut -d ":" -f 2 | sed 
s/"^ "//
    gvfs-info "$file" 2> /dev/null | grep standard::content-type | cut -d ":" 
-f 4 | sed s/"^ "//
    if [ $? -eq 0 ]; then
        exit_success
    else
        exit_failure_operation_failed
    fi
}

-- 
xdg-mime should use gvfs-info on gnome
https://bugs.launchpad.net/bugs/376827
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to