template fix
This commit is contained in:
parent
33cccaa319
commit
3231f2d2e4
@ -114,8 +114,10 @@ LINES=$(tput lines)
|
|||||||
print_block
|
print_block
|
||||||
|
|
||||||
new_line "Update caches and upgrade packages"
|
new_line "Update caches and upgrade packages"
|
||||||
{{ if eq .chezmoi.os "freebsd" }}
|
{{ if eq .chezmoi.os "freebsd" -}}
|
||||||
|
|
||||||
sudo pkg update
|
sudo pkg update
|
||||||
|
|
||||||
{{ else if eq .chezmoi.os "darwin" -}}
|
{{ else if eq .chezmoi.os "darwin" -}}
|
||||||
if ! type brew; then
|
if ! type brew; then
|
||||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 2>&1|pad
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 2>&1|pad
|
||||||
@ -137,8 +139,10 @@ sudo pkg update
|
|||||||
|
|
||||||
new_line "Install base packages"
|
new_line "Install base packages"
|
||||||
|
|
||||||
{{ if eq .chezmoi.os "freebsd" }}
|
{{ if eq .chezmoi.os "freebsd" -}}
|
||||||
|
|
||||||
sudo pkg install --yes $BASE_PACKAGES
|
sudo pkg install --yes $BASE_PACKAGES
|
||||||
|
|
||||||
{{ else if eq .chezmoi.os "darwin" -}}
|
{{ else if eq .chezmoi.os "darwin" -}}
|
||||||
brew install -q $BASE_PACKAGES python pipx 2>&1|pad
|
brew install -q $BASE_PACKAGES python pipx 2>&1|pad
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user