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:
5
setup.sh
5
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
|
||||||
@@ -463,7 +464,7 @@ main() {
|
|||||||
check_selinux
|
check_selinux
|
||||||
install_nix
|
install_nix
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install_home_manager
|
install_home_manager
|
||||||
setup_symlinks
|
setup_symlinks
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user