Summary: | xdg-open fais to open urls in lxde | ||
---|---|---|---|
Product: | Portland | Reporter: | Ivan Agarkov <ivan.agarkov> |
Component: | xdg-utils | Assignee: | Portland Bugs <portland-bugs> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | major | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Ivan Agarkov
2018-05-23 21:38:21 UTC
I cannot reproduce the problem, can you be more specific how it doesn't work? I test this snippet under both bash and dash, and it works as expected, if pcmanfm --help >/dev/null 2>&1 -a /bin/true; then echo yes; fi *** This bug has been marked as a duplicate of bug 106161 *** The problem is when fake_command is exists but second options is _false_. That's the case. [kreon@xaron ~]$ if /bin/false ; then echo "false=true"; fi [kreon@xaron ~]$ if pcmanfm --help 2>&1 > /dev/null -a /bin/false ; then echo "false=true"; fi false=true JFYI: -a IS NOT theaten as AND until you use [] or [[]] it's theaten as a ARGUMENT to pcmanfm. And is't not a duplicate, it's completely another bug that causes first condition to be true IF pcmanfm exists. Thanks, I could have sworn I'd checked that case, but apparently not. I do prefer to track this in the dup'd bug however. *** This bug has been marked as a duplicate of bug 106161 *** |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.