swap files since we are counting empty

This commit is contained in:
Zynh Ludwig 2024-08-01 03:38:18 -07:00
parent c3d64c3c31
commit be267b4504

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}"