Bug 132869
| Summary: | htmlview doesnt check correctly if browser exists | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dams <anvil> |
| Component: | htmlview | Assignee: | Jonathan Blandford <jrb> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3 | CC: | anvil, ddumas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-09-19 04:51:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
thx, I will test this. Checked in. |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040809 Galeon/1.3.17 Description of problem: Here's my gconf key : [user@host ~]# gconftool-2 -g /desktop/gnome/url-handlers/http/command galeon -n --noraise %s so, htmlview is check if the prorgam "galeon -n --noraise" exists. Which is just bad. I'm not sure you want to do it this way, but here's my fix: exists() { which "${1%% *}" 2> /dev/null > /dev/null return $? } as "$1" is "galeon -n --noraise", "${1%% *}" is just "galeon" [without anything after the first space]. Version-Release number of selected component: htmlview(0:3.0.0-4).noarch How reproducible: Always