Advertisement
Guest User

Untitled

a guest
Feb 5th, 2011
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.54 KB | None | 0 0
  1. diff -ruNa a/scripts/xdg-open b/scripts/xdg-open
  2. --- a/scripts/xdg-open  2011-01-01 11:03:14.000000000 +0100
  3. +++ b/scripts/xdg-open  2011-02-05 13:48:05.189919333 +0100
  4. @@ -426,6 +426,13 @@
  5.  
  6.          open_generic_xdg_mime "$file"
  7.  
  8. +        if mimeo -h 2>/dev/null 1>&2; then
  9. +            mimeo "$1"
  10. +            if [ $? -eq 0 ]; then
  11. +                exit_success
  12. +            fi
  13. +        fi
  14. +
  15.          if [ -f /etc/debian_version ] &&
  16.              which run-mailcap 2>/dev/null 1>&2; then
  17.              run-mailcap --action=view "$file"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement