refactor setup script to use a variable for continuation flag handling
All checks were successful
Nix Format Check / check-format (push) Successful in 37s
All checks were successful
Nix Format Check / check-format (push) Successful in 37s
This commit is contained in:
parent
5803376722
commit
a0245017f7
3
setup.sh
3
setup.sh
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user