aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-04-05 10:39:48 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-04-05 10:39:48 -0300
commit9ae95821d34bc7e618626a2dcde8f0ff715ad65a (patch)
tree3b6413b310b7f071bd9e96830b18d5cc3ebd1f1c
parent354ab453a719f9af1ca31309dad839ce56fbcb54 (diff)
downloadtrashman-9ae95821d34bc7e618626a2dcde8f0ff715ad65a.tar.gz
trashman-9ae95821d34bc7e618626a2dcde8f0ff715ad65a.tar.bz2
Fix: support for symlinking between distros (3)
-rw-r--r--share/trashman/trashman/functions4
1 files changed, 2 insertions, 2 deletions
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