logic changes

This commit is contained in:
2025-08-26 09:23:20 +02:00
parent bcf7315382
commit bc53a6c0dd

3
helper
View File

@@ -213,9 +213,8 @@ validate_input() {
git_clone_if_missing() {
local repo="$1"
local target_dir="$2"
local branch="${3:-main}"
[[ -d "$target_dir/.git" ]] && return
echo "Cloning repository $repo into $target_dir..."
git clone --quiet --branch "$branch" "$repo" "$target_dir"
git clone --quiet --branch main "$repo" "$target_dir"
}