From: Silvio Rhatto Date: Mon, 5 Apr 2021 13:39:48 +0000 (-0300) Subject: Fix: support for symlinking between distros (3) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=9ae95821d34bc7e618626a2dcde8f0ff715ad65a;p=trashman.git Fix: support for symlinking between distros (3) --- diff --git a/share/trashman/trashman/functions b/share/trashman/trashman/functions index f4dfe42..83ef0cf 100644 --- a/share/trashman/trashman/functions +++ b/share/trashman/trashman/functions @@ -77,7 +77,7 @@ trashman_actions_folder() { local ancestor="`trashman_ancestor`" local family="`trashman_family`" local distro="`trashman_distro`" - local findopts="-maxdepth 1 -type f -executable -exec basename {}" + local findopts="-maxdepth 1 -type f -executable -follow -exec basename {}" if [ -z "$package" ]; then return @@ -117,7 +117,7 @@ trashman_actions_folder() { # Return the list of available actions from a package trashman_actions() { local package="$1" - local findopts="-maxdepth 1 -type f -executable -exec basename {}" + local findopts="-maxdepth 1 -type f -executable -follow -exec basename {}" if [ -z "$package" ]; then return