refactor setup script to use a variable for continuation flag handling
All checks were successful
Nix Format Check / check-format (push) Successful in 37s

This commit is contained in:
Menno van Leeuwen 2025-01-15 13:40:49 +01:00
parent 5803376722
commit a0245017f7
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -455,7 +455,8 @@ main() {
git clone "$GIT_REPO" "$DOTFILES_DIR" || die "Failed to clone dotfiles repository" git clone "$GIT_REPO" "$DOTFILES_DIR" || die "Failed to clone dotfiles repository"
fi fi
if [ "$1" = "--continue" ]; then CONTINUE=$1
if [ "$CONTINUE" = "--continue" ]; then
log_info "Continuing setup..." log_info "Continuing setup..."
else else
warning_prompt warning_prompt