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

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