From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Ilia To: sisyphus@altlinux.ru Date: Thu, 22 Apr 2004 22:24:04 +0300 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_UvBiABlGX4SdO9L" Message-Id: <200404222224.05004.chest4alm@mighty.co.za> X-Virus-Scanned: by amavisd-new at technion.ac.il X-Virus-Scanned: by amavisd-new at technion.ac.il Subject: [sisyphus] url_handler.sh bugfix and bugzilla X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.4 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2004 19:24:13 -0000 Archived-At: List-Archive: --Boundary-00=_UvBiABlGX4SdO9L Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: base64 Content-Disposition: inline 5M/C0s/HzyDX0sXNxc7JINPV1M/LIQr6wc3F1MnMIM7F1cTPwtPU188gIsvPzsbJx9XSwcLFzNjO z9PUySIg0yB1cmxfaGFuZGxlci5zaCwgwSDJzcXOzs8sIM/U09XU09TXycUgCs/C0sHCz9TLySDQ xdLFzcXOzs/KINPSxcTZICRCUk9XU0VSLiDuwdujzCDBzsHMz8fJ3s7VwCDawc3F1MvVINcgwsHH 2snMzMU6Cmh0dHA6Ly9idWd6aWxsYS5hbHRsaW51eC5ydS9zaG93X2J1Zy5jZ2k/aWQ9Mzg1Ngrk wdbFIMnT0NLB18nMINUg08XC0Swgzs8gy8HLINrB0M/T1MnU2CBidWdmaXg/Cukg1yDLwcvJxSDT 0s/LySDPziDQz9DBxKPUINcg08naycY/CgoK5dPMySDLz83VIMnO1MXSxdPOzywg0MHU3iDQ0snM wcfBxdTT0S4g+sHQ1dPLwdTYOgpwYXRjaCAtTnAxIDx1cmxfaGFuZGxlci5kaWZmCgruydbFIMnE xdQg08zP18XTzs/FIM/QydPBzsnFINDB1N7BOgoxLiD3IMbByszFIC9ldGMvdXJsdmlldy91cmxf aGFuZGxlcnMK19PUwdfJ1Ngg09TSz8vVINDSzyAkQlJPV1NFUiDQxdLFxCBnYWxlb246Cmh0dHBz X3ByZ3M9KAogICAgIiRCUk9XU0VSIjpWVAogICAgL3Vzci9iaW4vZ2FsZW9uOlBXIAoKMi4g+sHN xc7J1NggNzEg09TSz8vVINcgxsHKzMUgL2V0Yy91cmx2aWV3L3VybF9oYW5kbGVyLnNoCmlmIFtb ICEgLXggIiR7cHJvZyUlICp9IiBdXTsgdGhlbgrOwQppZiAhIHdoaWNoICIke3Byb2clJSAqfSIg Jj4vZGV2L251bGw7IHRoZW4KCi0tIArzINXXwdbFzsnFzSwK6czY0S4K --Boundary-00=_UvBiABlGX4SdO9L Content-Type: text/x-diff; charset="koi8-r"; name="url_handler.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="url_handler.diff" diff -Naur old/etc/urlview/url_handlers new/etc/urlview/url_handlers --- old/etc/urlview/url_handlers 2004-04-22 22:11:45 +0300 +++ new/etc/urlview/url_handlers 2004-04-22 21:32:55 +0300 @@ -34,6 +34,7 @@ /usr/bin/gopher:XT) # https_progs is a subset of http_progs, so defining https_progs first. https_prgs=( + "$BROWSER":VT /usr/bin/galeon:PW /usr/bin/mozilla:PW /usr/bin/netscape:PW diff -Naur old/etc/urlview/url_handler.sh new/etc/urlview/url_handler.sh --- old/etc/urlview/url_handler.sh 2004-04-22 22:11:39 +0300 +++ new/etc/urlview/url_handler.sh 2004-04-22 22:12:01 +0300 @@ -68,7 +68,7 @@ tag="${ele##*:}" prog="${ele%%:*}" # Check that the executable is installed on this system: - if [[ ! -x "${prog%% *}" ]]; then + if ! which "${prog%% *}" &>/dev/null; then continue fi case "$tag" in --Boundary-00=_UvBiABlGX4SdO9L--