Update dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_15_install-asdf-packages.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_60-cleanup.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/ubuntu/run_onchange_before_10_install-ubuntu-dependencies.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/opensuse/run_onchange_before_11-install-opensuse-software.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/freebsd/run_onchange_before_11-install-freebsd-packages.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/fedora/run_onchange_before_10-install-fedora-dependencies.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/debian/run_onchange_before_10-install-debian-dependencies.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/darwin/run_onchange_before_10_install-darwin-dependencies.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/centos/run_onchange_before_10-install-centos-dependencies.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/archlinux/run_onchange_before_10_install-archlinux-dependencies.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoitemplates/universal/logg
This commit is contained in:
parent
796715a00b
commit
0cc673629e
11 changed files with 18 additions and 18 deletions
|
@ -15,8 +15,8 @@
|
|||
{{- $packages = concat $packages $pyenvDependencies -}}
|
||||
{{- end }}
|
||||
|
||||
logg 'Installing common dependencies using pacman'
|
||||
logg "Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}"
|
||||
logg 'Installing common dependencies using `pacman`'
|
||||
logg info 'Dependencies: `{{ $packages | sortAlpha | uniq | join "` `" -}}`'
|
||||
|
||||
### Install base dependencies
|
||||
sudo pacman -Sy --noconfirm --needed {{ $packages | sortAlpha | uniq | join " " -}}
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
{{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) }}
|
||||
# TODO - Add Python dependencies like in ubuntu/archlinux
|
||||
|
||||
logg 'Installing common dependencies using dnf'
|
||||
logg "Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}"
|
||||
logg 'Installing common dependencies using `dnf`'
|
||||
logg info 'Dependencies: `{{ $packages | sortAlpha | uniq | join "` `" -}}`'
|
||||
|
||||
### Install base dependencies
|
||||
sudo dnf install -y {{ $packages | sortAlpha | uniq | join " " -}}
|
||||
|
|
|
@ -19,8 +19,8 @@ eval $(/usr/local/bin/brew shellenv)
|
|||
{{- end }}
|
||||
|
||||
logg 'Installing base dependencies for macOS using `brew bundle`'
|
||||
logg 'Dependencies: asdf jq node go-task/tap/go-task volta yq m-cli zx'
|
||||
logg 'Additional dependencies for GNU compatibility: coreutils findutils gawk gnu-getopt gnu-indent gnu-tar gnu-sed gnutls grep'
|
||||
logg info 'Dependencies: `asdf` `jq` `node` `go-task/tap/go-task` `volta` `yq` `m-cli` `zx`'
|
||||
logg info 'GNU compatibility dependencies: `coreutils` `findutils` `gawk` `gnu-getopt` `gnu-indent` `gnu-tar` `gnu-sed` `gnutls` `grep`'
|
||||
|
||||
brew bundle --verbose --no-lock --file=/dev/stdin <<EOF
|
||||
{{ includeTemplate "darwin/Brewfile" . }}
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
|
||||
source "$HOME/.config/shell/exports"
|
||||
|
||||
logg 'Installing common dependencies using apt-get'
|
||||
logg "Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}"
|
||||
logg 'Installing common dependencies using `apt-get`'
|
||||
logg info 'Dependencies: `{{ $packages | sortAlpha | uniq | join "` `" -}}`'
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends {{ $packages | sortAlpha | uniq | join " " -}}
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
{{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) }}
|
||||
# TODO - Add Python dependencies like in ubuntu/archlinux
|
||||
|
||||
logg 'Installing common dependencies using dnf'
|
||||
logg "Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}"
|
||||
logg 'Installing common dependencies using `dnf`'
|
||||
logg info 'Dependencies: `{{ $packages | sortAlpha | uniq | join "` `" -}}`'
|
||||
|
||||
### Install base dependencies
|
||||
sudo dnf install -y {{ $packages | sortAlpha | uniq | join " " -}}
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
{{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) }}
|
||||
# TODO - Add Python dependencies like in ubuntu/archlinux
|
||||
|
||||
logg 'Installing common dependencies using pkg'
|
||||
logg "Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}"
|
||||
logg 'Installing common dependencies using `pkg`'
|
||||
logg info 'Dependencies: `{{ $packages | sortAlpha | uniq | join "` `" -}}`'
|
||||
|
||||
### Install base dependencies
|
||||
sudo pkg install -y {{ $packages | sortAlpha | uniq | join " " -}}
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
{{- $packages := splitList " " (includeTemplate "universal/essential-packages" .) }}
|
||||
# TODO - Add Python dependencies like in ubuntu/archlinux
|
||||
|
||||
logg 'Installing common dependencies using zypper'
|
||||
logg "Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}"
|
||||
logg 'Installing common dependencies using `zypper`'
|
||||
logg info 'Dependencies: `{{ $packages | sortAlpha | uniq | join "` `" -}}`'
|
||||
|
||||
### Install base dependencies
|
||||
sudo zypper install -y {{ $packages | sortAlpha | uniq | join " " -}}
|
||||
|
|
|
@ -30,8 +30,8 @@
|
|||
|
||||
source "$HOME/.config/shell/exports"
|
||||
|
||||
logg 'Installing common dependencies using apt-get'
|
||||
logg "Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}"
|
||||
logg 'Installing common dependencies using `apt-get`'
|
||||
logg info 'Dependencies: `{{ $packages | sortAlpha | uniq | join "` `" -}}`'
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-install-recommends {{ $packages | sortAlpha | uniq | join " " -}}
|
||||
|
|
|
@ -11,6 +11,6 @@ if [ -f "$ASDF_DIR/asdf.sh" ] && [ -f ~/.tool-versions ]; then
|
|||
. ${ASDF_DIR}/asdf.sh
|
||||
asdf install || true
|
||||
else
|
||||
logg 'The `$ASDF_DIR/asdf.sh` or `~/.tool-versions` file is not present'
|
||||
logg warn 'The `$ASDF_DIR/asdf.sh` or `~/.tool-versions` file is not present'
|
||||
fi
|
||||
{{- end }}
|
||||
|
|
|
@ -14,7 +14,7 @@ fi
|
|||
if command -v gsed > /dev/null; then
|
||||
gsed -i 's/\.\/\.config\/taskfiles/taskfiles/g' ~/.local/Taskfile.yml
|
||||
else
|
||||
logg 'Unable to fix `~/.local/Taskfile.yml` because gsed GNU compatibility tool is not installed.'
|
||||
logg warn 'Unable to fix `~/.local/Taskfile.yml` because gsed GNU compatibility tool is not installed.'
|
||||
fi
|
||||
{{- end }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue