diff --git a/service.nix b/service.nix index 2be1784..b704386 100644 --- a/service.nix +++ b/service.nix @@ -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}"