From 9d6ef3cffb8c0e340e2eb2f1e8cfdff4a09e1067 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Sun, 3 Mar 2024 15:49:17 +0100 Subject: [PATCH] Up. --- .chezmoi.toml.tmpl | 2 +- .../run_onchange_after_10-install-packages.sh.tmpl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl index e0baeac..1c4a4b1 100644 --- a/.chezmoi.toml.tmpl +++ b/.chezmoi.toml.tmpl @@ -1,4 +1,4 @@ -{{ $installSystemRustup := promptBool "Install rustup from system or asdf ?" true -}} +{{ $installSystemRustup := promptBoolOnce "Install rustup from system or asdf ?" true -}} [data] installSystemRustup = {{ $installSystemRustup }} diff --git a/home/.chezmoiscripts/run_onchange_after_10-install-packages.sh.tmpl b/home/.chezmoiscripts/run_onchange_after_10-install-packages.sh.tmpl index 6769600..2399c68 100644 --- a/home/.chezmoiscripts/run_onchange_after_10-install-packages.sh.tmpl +++ b/home/.chezmoiscripts/run_onchange_after_10-install-packages.sh.tmpl @@ -26,6 +26,8 @@ packages=( zoxide ) +{{- writeToStdout $installSystemRustup -}} + {{ if (eq .chezmoi.osRelease.id "manjaro" "arch") -}} log "Begin Arch/Manjaro Linux packages installation"