refactor setup script to remove continuation flag handling and streamline installation steps
All checks were successful
Nix Format Check / check-format (push) Successful in 38s
All checks were successful
Nix Format Check / check-format (push) Successful in 38s
This commit is contained in:
parent
0747d2a784
commit
a3f2b7d759
18
setup.sh
18
setup.sh
@ -446,12 +446,6 @@ main() {
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Check if this is a continuation -c flag
|
||||
if [ "$1" = "-c" ]; then
|
||||
log_info "Continuing setup..."
|
||||
CONTINUATION=true
|
||||
fi
|
||||
|
||||
# Check prerequisites
|
||||
check_prerequisites
|
||||
|
||||
@ -461,14 +455,10 @@ main() {
|
||||
git clone "$GIT_REPO" "$DOTFILES_DIR" || die "Failed to clone dotfiles repository"
|
||||
fi
|
||||
|
||||
# Run setup steps
|
||||
if [ "$CONTINUATION" != "true" ]; then
|
||||
warning_prompt
|
||||
prepare_hostname
|
||||
check_selinux
|
||||
install_nix
|
||||
fi
|
||||
|
||||
warning_prompt
|
||||
prepare_hostname
|
||||
check_selinux
|
||||
install_nix
|
||||
install_home_manager
|
||||
setup_symlinks
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user