From 1af852aab1e8286f8fac23412167054b41f79996 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Tue, 27 May 2025 13:03:47 +0200 Subject: [PATCH] add support for other distributions --- run_onchange_install-packages.sh.tmpl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/run_onchange_install-packages.sh.tmpl b/run_onchange_install-packages.sh.tmpl index ab118dd..56cebb4 100755 --- a/run_onchange_install-packages.sh.tmpl +++ b/run_onchange_install-packages.sh.tmpl @@ -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 -}}