swap files since we are counting empty

main
Zynh Ludwig 2024-08-01 03:38:18 -07:00
parent c3d64c3c31
commit be267b4504
1 changed files with 2 additions and 2 deletions

View File

@ -27,9 +27,9 @@ in
if [ -d "$target" ]; then if [ -d "$target" ]; then
if [[ $(${pkgs.findutils}/bin/find /some/dir/ -maxdepth 0 -empty) -gt 0 ]]; then if [[ $(${pkgs.findutils}/bin/find /some/dir/ -maxdepth 0 -empty) -gt 0 ]]; then
echo "~ Found Files at $target ~"
else
echo "~ No Files in $target ~" echo "~ No Files in $target ~"
else
echo "~ Found Files at $target ~"
fi fi
fi fi
done < "${config.repo-clone.pkg}" done < "${config.repo-clone.pkg}"