logs
This commit is contained in:
parent
4b22a2ab7a
commit
fb232d7df7
1 changed files with 3 additions and 0 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue