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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
|
Description: Fix hardcoded paths from /usr/local/bin/netscape and /usr/local/bin/lynx
to /usr/bin/sensible-browser and /usr/bin/lynx.
Author: Unit 193 <unit193@ubuntu.com>
Origin: vendor
Forwarded: no
Last-Update: 2015-05-01
Index: alpine/doc/tech-notes/config.html
===================================================================
--- alpine.orig/doc/tech-notes/config.html
+++ alpine/doc/tech-notes/config.html
@@ -4227,16 +4227,16 @@ Now for an example:
<BLOCKQUOTE>
<CODE>
- url-viewers=_TEST("test -n '${DISPLAY}'")_ /usr/local/bin/netscape,
- /usr/local/bin/lynx,
+ url-viewers=_TEST("test -n '${DISPLAY}'")_ /usr/bin/sensible-browser,
+ /usr/bin/lynx,
C:\BIN\NETSCAPE.BAT </CODE><BR>
</BLOCKQUOTE>
This example shows that for the first browser in the list to be used the
environment variable <CODE>DISPLAY</CODE> must be defined.
-If it is, then the file <CODE>/usr/local/bin/netscape</CODE> must exist.
+If it is, then the file <CODE>/usr/bin/sensible-browser</CODE> must exist.
If either condition is not met, then the file
-<CODE>/usr/local/bin/lynx</CODE> must exist.
+<CODE>/usr/bin/lynx</CODE> must exist.
If it doesn't, then the final path and file must
exist. Note that the last entry is a DOS/Windows path. This is one way
to support <EM>Alpine</EM> running on more than one architecture with the same
Index: alpine/doc/tech-notes/tech-notes.txt
===================================================================
--- alpine.orig/doc/tech-notes/tech-notes.txt
+++ alpine/doc/tech-notes/tech-notes.txt
@@ -4166,12 +4166,12 @@ m+4TJybNGNfAgOctSkEyY/OCb49fRRQTCBZVIhzL
relative to your home directory).
Now for an example:
- url-viewers=_TEST("test -n '${DISPLAY}'")_ /usr/local/bin/netscape,
- /usr/local/bin/lynx, C:\BIN\NETSCAPE.BAT
+ url-viewers=_TEST("test -n '${DISPLAY}'")_ /usr/bin/sensible-browser,
+ /usr/bin/lynx, C:\BIN\NETSCAPE.BAT
This example shows that for the first browser in the list to be
used the environment variable DISPLAY must be defined. If it is,
- then the file /usr/local/bin/netscape must exist. If either
- condition is not met, then the file /usr/local/bin/lynx must
+ then the file /usr/bin/sensible-browser must exist. If either
+ condition is not met, then the file /usr/bin/lynx must
exist. If it doesn't, then the final path and file must exist.
Note that the last entry is a DOS/Windows path. This is one way
to support _Alpine_ running on more than one architecture with
Index: alpine/pith/pine.hlp
===================================================================
--- alpine.orig/pith/pine.hlp
+++ alpine/pith/pine.hlp
@@ -26882,16 +26882,16 @@ argument (see the "lynx" examp
<P>
So, here are some example entries:
<PRE>
-url-viewers = _TEST("test -n '${DISPLAY}'")_ /usr/local/bin/netscape
- "/usr/local/bin/lynx _URL_"
+url-viewers = _TEST("test -n '${DISPLAY}'")_ /usr/bin/sensible-browser
+ "/usr/bin/lynx _URL_"
C:\BIN\NETSCAPE.BAT
</PRE>
<P>
This example shows that for the first viewer in the list to be used
the environment variable "DISPLAY" must be defined. If it
-is, then the path and file "/usr/local/bin/netscape" must exist.
+is, then the path and file "/usr/bin/sensible-browser" must exist.
If neither condition is met,
-then the path and file "/usr/local/bin/lynx" must exist.
+then the path and file "/usr/bin/lynx" must exist.
If it does, then the "_URL_" token is replaced by the selected URL.
If the path to "lynx" is invalid,
then the final path and file C:\BIN\NETSCAPE.BAT must exist.
@@ -26986,8 +26986,8 @@ because of its length, but should all ap
<P>
url-viewers = _TEST("test -L /myhomedir/.netscape/lock")_ "/usr/local/bin/netscape -remote 'openURL(_URL_, new-window)' &"<BR>
-_TEST("test -n '${DISPLAY}'")_ "/usr/local/bin/netscape &"<BR>
- "/usr/local/bin/lynx '_URL_'"
+_TEST("test -n '${DISPLAY}'")_ "/usr/bin/sensible-browser &"<BR>
+ "/usr/bin/lynx '_URL_'"
<P>
<!--chtml endif-->
<P>
|