File: mimeapps.dpatch

package info (click to toggle)
rox 2.2.0-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 6,628 kB
  • ctags: 3,426
  • sloc: ansic: 36,949; xml: 9,296; sh: 520; makefile: 125; python: 28; perl: 27
file content (32 lines) | stat: -rw-r--r-- 1,295 bytes parent folder | download
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 "$@"