logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

xdg-utils-1.1.3-xdg-open-pcmanfm.patch (702B)


  1. From 31525d3855f876ddf2e29091b2e8d376f923e09e Mon Sep 17 00:00:00 2001
  2. From: Rex Dieter <rdieter@gmail.com>
  3. Date: Thu, 24 May 2018 14:40:53 -0500
  4. Subject: xdg-open: better pcmanfm check (BR106636,BR106161)
  5. diff --git a/scripts/xdg-open.in b/scripts/xdg-open.in
  6. index 630e63e..bf9da4c 100644
  7. --- a/scripts/xdg-open.in
  8. +++ b/scripts/xdg-open.in
  9. @@ -451,7 +451,7 @@ open_lxde()
  10. {
  11. # pcmanfm only knows how to handle file:// urls and filepaths, it seems.
  12. - if pcmanfm --help >/dev/null 2>&1 -a is_file_url_or_path "$1"; then
  13. + if pcmanfm --help >/dev/null 2>&1 && is_file_url_or_path "$1"; then
  14. local file="$(file_url_to_path "$1")"
  15. # handle relative paths
  16. --
  17. cgit v1.1