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