Update dotfiles/.local/share/chezmoi/home/.chezmoiscripts/opensuse/run_onchange_before_11-install-opensuse-software, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/freebsd/run_onchange_before_10-install-freebsd-dependencies, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/freebsd/run_onchange_before_11-install-freebsd-packages, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/windows/run_onchange_before_10-install-windows-dependencies, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/windows/run_onchange_before_11-install-windows-packages
This commit is contained in:
parent
a0efac463d
commit
0fdd8b6234
5 changed files with 38 additions and 3 deletions
|
@ -0,0 +1,4 @@
|
|||
{{- if eq .host.distro.id "opensuse" }}
|
||||
{{ $supportedManagers := (list "whalebrew" "pkg" "go" "cargo" "npm" "gem") }}
|
||||
#!/usr/bin/env bash
|
||||
{{- end -}}
|
|
@ -1,4 +1,17 @@
|
|||
{{- if eq .host.distro.id "opensuse" }}
|
||||
{{ $supportedManagers := (list "whalebrew" "pkg" "go" "cargo" "npm" "gem") }}
|
||||
{{- if eq .host.distro.id "freebsd" }}
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Required for styled logging
|
||||
{{- includeTemplate "universal/logg" }}
|
||||
|
||||
{{- $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 " " -}}"
|
||||
|
||||
### Install base dependencies
|
||||
sudo pkg install -y {{ $packages | sortAlpha | uniq | join " " -}}
|
||||
|
||||
{{- end -}}
|
||||
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
{{- if eq .host.distro.id "opensuse" }}
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Required for styled logging
|
||||
{{- includeTemplate "universal/logg" }}
|
||||
|
||||
{{- $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 " " -}}"
|
||||
|
||||
### Install base dependencies
|
||||
sudo zypper install -y {{ $packages | sortAlpha | uniq | join " " -}}
|
||||
|
||||
{{- end -}}
|
|
@ -0,0 +1,2 @@
|
|||
{{- if eq .host.distro.id "windows" }}
|
||||
{{- end -}}
|
|
@ -1,4 +1,4 @@
|
|||
{{- if eq .host.distro.id "ubuntu" }}
|
||||
{{- if eq .host.distro.id "windows" }}
|
||||
{{ $supportedManagers := (list "whalebrew" "choco" "scoop" "winget" "go" "cargo" "npm" "pipx" "gem" "binary") }}
|
||||
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in a new issue