update installation message to instruct users to reopen shell and rerun the script after Nix installation
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
a3f2b7d759
commit
5803376722
9
setup.sh
9
setup.sh
@ -300,8 +300,8 @@ install_nix() {
|
|||||||
die "Failed to install Nix"
|
die "Failed to install Nix"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
log_success "Nix has been installed. We're reinvoking the script to continue setup."
|
log_success "Nix has been installed. Please open a new shell and re-run the script."
|
||||||
curl -L https://df.mvl.sh | bash -s - -c
|
log_info "`~/dotfiles/setup.sh --continue` to continue setup."
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -455,10 +455,15 @@ 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
|
||||||
|
log_info "Continuing setup..."
|
||||||
|
else
|
||||||
warning_prompt
|
warning_prompt
|
||||||
prepare_hostname
|
prepare_hostname
|
||||||
check_selinux
|
check_selinux
|
||||||
install_nix
|
install_nix
|
||||||
|
fi
|
||||||
|
|
||||||
install_home_manager
|
install_home_manager
|
||||||
setup_symlinks
|
setup_symlinks
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user