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

index 9a70db8b71fd8eca8b3b239414afd7a5c6b8c0a3..f4dfe421b452aba6a859f07ce40a1ed64097cd7f 100644 (file)
@@ -94,7 +94,7 @@ trashman_actions_folder() {
   fi
 
   if [ -z "$actions" ]; then
-    if [ -d "$SHARE/$package/$ancestor/$family" ]; then
+    if [ -e "$SHARE/$package/$ancestor/$family" ]; then
       actions="`find $SHARE/$package/$ancestor/$family $findopts \; | xargs`"
     else
       actions=""