From a3f2b7d75961fcaf0f4054d5668f94c478fb9030 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Wed, 15 Jan 2025 13:33:57 +0100 Subject: [PATCH] refactor setup script to remove continuation flag handling and streamline installation steps --- setup.sh | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/setup.sh b/setup.sh index ab152f5..c283cb5 100755 --- a/setup.sh +++ b/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