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
5
setup.sh
5
setup.sh
@ -455,7 +455,8 @@ main() {
|
||||
git clone "$GIT_REPO" "$DOTFILES_DIR" || die "Failed to clone dotfiles repository"
|
||||
fi
|
||||
|
||||
if [ "$1" = "--continue" ]; then
|
||||
CONTINUE=$1
|
||||
if [ "$CONTINUE" = "--continue" ]; then
|
||||
log_info "Continuing setup..."
|
||||
else
|
||||
warning_prompt
|
||||
@ -463,7 +464,7 @@ main() {
|
||||
check_selinux
|
||||
install_nix
|
||||
fi
|
||||
|
||||
|
||||
install_home_manager
|
||||
setup_symlinks
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user