From b1d060fb84c0dc959d1ea3380ae4ed4402eb3448 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Mon, 30 Jan 2023 08:44:16 +0000 Subject: [PATCH] Update file run_onchange_after_12-install-packages.tmpl --- .../universal/run_onchange_after_12-install-packages.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl index 9d360e13..0b043af3 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl @@ -27,8 +27,12 @@ if command -v install-program > /dev/null; then fi if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" + else + logg warn 'No ~/.bashrc file to import before running install-program' fi export LC_ALL="en_US.UTF-8" + logg info 'Printing environment variables for GO' + env | grep GO install-program {{ $softwareList }} # TODO - Figure out how to configure no logs to print to ~/.ansible.log -- should be printing to the value specified in the ansible.cfg rm -rf "$HOME/.ansible.log"