]> gitweb.fluxo.info Git - trashman.git/commitdiff
Fix: support for symlinking between distros (3)
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 5 Apr 2021 13:39:48 +0000 (10:39 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 5 Apr 2021 13:39:48 +0000 (10:39 -0300)
share/trashman/trashman/functions

index f4dfe421b452aba6a859f07ce40a1ed64097cd7f..83ef0cf7eb0705f6365f7b2a5c8bf28e2fefe43f 100644 (file)
@@ -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