add support for other distributions

This commit is contained in:
Simon Rieger 2025-05-27 13:03:47 +02:00
parent 3e0bbe5712
commit 1af852aab1

View file

@ -6,7 +6,13 @@
echo "Packetinstallation hat begonnen, bitte das sudo Passwort nach Bedarf eingeben!!!"
{{ if eq .chezmoi.os "linux" -}}
{{ .chezmoi.homeDir }}/install-fedora.sh
{{ if eq .chezmoi.osRelease.id "fedora" -}}
{{ .chezmoi.homeDir }}/install-fedora.sh
{{ else -}}
echo "keine Änderungen für diese Distribution eingetragen"
{{ end -}}
{{ else if eq .chezmoi.os "darwin" -}}
{{ .chezmoi.homeDir }}/install-macos.sh
{{ .chezmoi.homeDir }}/install-macos.sh
{{ else -}}
echo "keine Änderungen für diese Distribution eingetragen"
{{ end -}}