From 6b0a801bf95ce36d37f9a123d9959abad217f298 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Sun, 25 Feb 2024 21:17:45 +0100 Subject: [PATCH] Up. --- .../run_onchange_10-install-packages.sh.tmpl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/home/.chezmoiscripts/run_onchange_10-install-packages.sh.tmpl b/home/.chezmoiscripts/run_onchange_10-install-packages.sh.tmpl index 8fb3186..0a3ba1b 100644 --- a/home/.chezmoiscripts/run_onchange_10-install-packages.sh.tmpl +++ b/home/.chezmoiscripts/run_onchange_10-install-packages.sh.tmpl @@ -11,13 +11,14 @@ packages=( trash-cli unzip wget - xplr zip zoxide zsh ) {{ if (eq .chezmoi.osRelease.id "manjaro" "arch") -}} + + {{- /* we're on Arch based system */ -}} echo -e "\033[0;32m>>>>> Begin Arch/Manjaro Linux packages installation <<<<<\033[0m" ## Update system @@ -55,5 +56,13 @@ packages=( done echo -e "\033[0;32m>>>>> Finish Arch/Manjaro Linux packages installation <<<<<\033[0m" + +{{ else if (eq .chezmoi.osRelease.id "debian" "ubuntu") -}} + + {{- /* we're on Debian based system */ -}} + echo -e "\033[0;32m>>>>> Begin Debian/Ubuntu Linux packages installation <<<<<\033[0m" + + echo -e "\033[0;32m>>>>> Finish Debian/Ubuntu Linux packages installation <<<<<\033[0m" + {{- end }}