Commit 31525d38 authored by Rex Dieter's avatar Rex Dieter
Browse files

xdg-open: better pcmanfm check (BR106636,BR106161)

parent 0b73fb82
=== xdg-utils 1.1.4 ===
2018-05-24
* xdg-open: better pcmanfm check (BR106636,BR106161)
=== xdg-utils 1.1.3 ===
......
......@@ -451,7 +451,7 @@ open_lxde()
{
# pcmanfm only knows how to handle file:// urls and filepaths, it seems.
if pcmanfm --help >/dev/null 2>&1 -a is_file_url_or_path "$1"; then
if pcmanfm --help >/dev/null 2>&1 && is_file_url_or_path "$1"; then
local file="$(file_url_to_path "$1")"
# handle relative paths
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment