From 7826e4cef38b4ba44c2105fd86e80a7180a9e580 Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Sun, 24 Dec 2023 22:47:28 +0000 Subject: [PATCH] Hardcoded full installation --- home/dot_local/bin/executable_provision.tmpl | 6 ++++-- local/provision.sh | 6 ++++-- scripts/provision.sh | 6 ++++-- scripts/src/provision.sh.tmpl | 6 ++++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/home/dot_local/bin/executable_provision.tmpl b/home/dot_local/bin/executable_provision.tmpl index 146296a0..c1d25103 100644 --- a/home/dot_local/bin/executable_provision.tmpl +++ b/home/dot_local/bin/executable_provision.tmpl @@ -325,8 +325,10 @@ if [ ! -f "${XDG_CONFIG_HOME:-$HOME/.config}/chezmoi/chezmoi.yaml" ]; then # @description Prompt for the software group if the `SOFTWARE_GROUP` variable is not defined if command -v gum > /dev/null; then if [ -z "$SOFTWARE_GROUP" ]; then - logg prompt 'Select the software group you would like to install. If your environment is a macOS, Windows, or environment with the DISPLAY environment variable then desktop software will be installed too. The software groups are in the '"${XDG_CONFIG_HOME:-$HOME/.config}/chezmoi/chezmoi.yaml"' file.' - SOFTWARE_GROUP="$(gum choose "Basic" "Standard" "Full")" + # logg prompt 'Select the software group you would like to install. If your environment is a macOS, Windows, or environment with the DISPLAY environment variable then desktop software will be installed too. The software groups are in the '"${XDG_CONFIG_HOME:-$HOME/.config}/chezmoi/chezmoi.yaml"' file.' + SOFTWARE_GROUP="Full" + # TODO - Uncomment this when other SOFTWARE_GROUP types are implemented properly + # SOFTWARE_GROUP="$(gum choose "Basic" "Server" "Standard" "Full")" export SOFTWARE_GROUP fi else diff --git a/local/provision.sh b/local/provision.sh index f514a944..825b8e3d 100644 --- a/local/provision.sh +++ b/local/provision.sh @@ -509,8 +509,10 @@ initChezmoiAndPrompt() { ### Prompt for the software group if the `SOFTWARE_GROUP` variable is not defined if command -v gum > /dev/null; then if [ -z "$SOFTWARE_GROUP" ]; then - logg prompt 'Select the software group you would like to install. If your environment is a macOS, Windows, or environment with the DISPLAY environment variable then desktop software will be installed too. The software groups are in the '"${XDG_CONFIG_HOME:-$HOME/.config}/chezmoi/chezmoi.yaml"' file.' - SOFTWARE_GROUP="$(gum choose "Basic" "Server" "Standard" "Full")" + # logg prompt 'Select the software group you would like to install. If your environment is a macOS, Windows, or environment with the DISPLAY environment variable then desktop software will be installed too. The software groups are in the '"${XDG_CONFIG_HOME:-$HOME/.config}/chezmoi/chezmoi.yaml"' file.' + SOFTWARE_GROUP="Full" + # TODO - Uncomment this when other SOFTWARE_GROUP types are implemented properly + # SOFTWARE_GROUP="$(gum choose "Basic" "Server" "Standard" "Full")" export SOFTWARE_GROUP fi else diff --git a/scripts/provision.sh b/scripts/provision.sh index b8a06d5c..4a0b9d25 100644 --- a/scripts/provision.sh +++ b/scripts/provision.sh @@ -528,8 +528,10 @@ initChezmoiAndPrompt() { ### Prompt for the software group if the `SOFTWARE_GROUP` variable is not defined if command -v gum > /dev/null; then if [ -z "$SOFTWARE_GROUP" ]; then - logg prompt 'Select the software group you would like to install. If your environment is a macOS, Windows, or environment with the DISPLAY environment variable then desktop software will be installed too. The software groups are in the '"${XDG_CONFIG_HOME:-$HOME/.config}/chezmoi/chezmoi.yaml"' file.' - SOFTWARE_GROUP="$(gum choose "Basic" "Server" "Standard" "Full")" + # logg prompt 'Select the software group you would like to install. If your environment is a macOS, Windows, or environment with the DISPLAY environment variable then desktop software will be installed too. The software groups are in the '"${XDG_CONFIG_HOME:-$HOME/.config}/chezmoi/chezmoi.yaml"' file.' + SOFTWARE_GROUP="Full" + # TODO - Uncomment this when other SOFTWARE_GROUP types are implemented properly + # SOFTWARE_GROUP="$(gum choose "Basic" "Server" "Standard" "Full")" export SOFTWARE_GROUP fi else diff --git a/scripts/src/provision.sh.tmpl b/scripts/src/provision.sh.tmpl index 4ca60b9c..313035ce 100644 --- a/scripts/src/provision.sh.tmpl +++ b/scripts/src/provision.sh.tmpl @@ -291,8 +291,10 @@ initChezmoiAndPrompt() { ### Prompt for the software group if the `SOFTWARE_GROUP` variable is not defined if command -v gum > /dev/null; then if [ -z "$SOFTWARE_GROUP" ]; then - logg prompt 'Select the software group you would like to install. If your environment is a macOS, Windows, or environment with the DISPLAY environment variable then desktop software will be installed too. The software groups are in the '"${XDG_CONFIG_HOME:-$HOME/.config}/chezmoi/chezmoi.yaml"' file.' - SOFTWARE_GROUP="$(gum choose "Basic" "Server" "Standard" "Full")" + # logg prompt 'Select the software group you would like to install. If your environment is a macOS, Windows, or environment with the DISPLAY environment variable then desktop software will be installed too. The software groups are in the '"${XDG_CONFIG_HOME:-$HOME/.config}/chezmoi/chezmoi.yaml"' file.' + SOFTWARE_GROUP="Full" + # TODO - Uncomment this when other SOFTWARE_GROUP types are implemented properly + # SOFTWARE_GROUP="$(gum choose "Basic" "Server" "Standard" "Full")" export SOFTWARE_GROUP fi else