Hardcoded full installation
This commit is contained in:
parent
4ab0296360
commit
7826e4cef3
4 changed files with 16 additions and 8 deletions
|
@ -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
|
# @description Prompt for the software group if the `SOFTWARE_GROUP` variable is not defined
|
||||||
if command -v gum > /dev/null; then
|
if command -v gum > /dev/null; then
|
||||||
if [ -z "$SOFTWARE_GROUP" ]; 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.'
|
# 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")"
|
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
|
export SOFTWARE_GROUP
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
|
@ -509,8 +509,10 @@ initChezmoiAndPrompt() {
|
||||||
### Prompt for the software group if the `SOFTWARE_GROUP` variable is not defined
|
### Prompt for the software group if the `SOFTWARE_GROUP` variable is not defined
|
||||||
if command -v gum > /dev/null; then
|
if command -v gum > /dev/null; then
|
||||||
if [ -z "$SOFTWARE_GROUP" ]; 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.'
|
# 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")"
|
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
|
export SOFTWARE_GROUP
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
|
@ -528,8 +528,10 @@ initChezmoiAndPrompt() {
|
||||||
### Prompt for the software group if the `SOFTWARE_GROUP` variable is not defined
|
### Prompt for the software group if the `SOFTWARE_GROUP` variable is not defined
|
||||||
if command -v gum > /dev/null; then
|
if command -v gum > /dev/null; then
|
||||||
if [ -z "$SOFTWARE_GROUP" ]; 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.'
|
# 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")"
|
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
|
export SOFTWARE_GROUP
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
|
@ -291,8 +291,10 @@ initChezmoiAndPrompt() {
|
||||||
### Prompt for the software group if the `SOFTWARE_GROUP` variable is not defined
|
### Prompt for the software group if the `SOFTWARE_GROUP` variable is not defined
|
||||||
if command -v gum > /dev/null; then
|
if command -v gum > /dev/null; then
|
||||||
if [ -z "$SOFTWARE_GROUP" ]; 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.'
|
# 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")"
|
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
|
export SOFTWARE_GROUP
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue