main
Zynh Ludwig 2024-08-01 03:52:17 -07:00
parent 4b22a2ab7a
commit fb232d7df7
1 changed files with 3 additions and 0 deletions

View File

@ -27,12 +27,15 @@ in
if [ -d "$target" ]; then
if ${pkgs.findutils}/bin/find "$target" -maxdepth 0 -empty | read v; then
echo "Cloning Repo: $repo to $target"
clone_repo "$repo" "$target"
else
echo "Files already found: $target"
fi
else
echo "Making Directory: $target"
${pkgs.coreutils}/bin/mkdir -p "$target"
echo "Cloning Repo: $repo to $target"
clone_repo "$repo" "$target"
fi
done < "${config.repo-clone.pkg}"