1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## mimeapps.dpatch by Francesco Paolo Lovergine <frankie@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad rox-2.1.6/Choices/MIME-types/text /tmp/dpep.Tbjh05/rox-2.1.6/Choices/MIME-types/text
--- rox-2.1.6/Choices/MIME-types/text 2002-05-28 18:59:46.000000000 +0200
+++ /tmp/dpep.Tbjh05/rox-2.1.6/Choices/MIME-types/text 2005-01-27 12:25:59.000000000 +0100
@@ -1,2 +1,2 @@
#!/bin/sh
-exec xterm -e vi "$@"
+exec x-terminal-emulator -e sensible-editor "$@"
diff -urNad rox-2.1.6/Choices/MIME-types/text_html /tmp/dpep.Tbjh05/rox-2.1.6/Choices/MIME-types/text_html
--- rox-2.1.6/Choices/MIME-types/text_html 2004-07-13 13:23:20.000000000 +0200
+++ /tmp/dpep.Tbjh05/rox-2.1.6/Choices/MIME-types/text_html 2005-01-27 12:26:40.000000000 +0100
@@ -1,13 +1,3 @@
#!/bin/sh
-for app in firefox mozilla-firefox firebird mozilla-firebird galeon mozilla netscape skipstone dillo konqueror amaya; do
- if [ -x "`which $app`" ]; then exec "$app" "$@"; fi
-done
-
-for app in w3m lynx links vim vi; do
- if [ -x "`which $app`" ]; then exec xterm -e "$app" "$@"; fi
-done
-
-echo "Can't find any web browser installed... last try..." >&2
-
-exec netscape "$@"
+exec x-www-browser "$@"
|