swap files since we are counting empty
This commit is contained in:
parent
c3d64c3c31
commit
be267b4504
1 changed files with 2 additions and 2 deletions
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue