From 0a2d9b39a36317b15fa1de2dba59e2bd92ec4b55 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Tue, 10 Jan 2023 08:14:27 +0000 Subject: [PATCH] Update 2 files - /home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl - /local/provision.sh --- .../universal/run_onchange_after_12-install-packages.tmpl | 6 +----- local/provision.sh | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) 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 1ab8f368..f2cb8022 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl @@ -29,11 +29,7 @@ if command -v install-program > /dev/null; then . "$HOME/.bashrc" fi export LC_ALL="en_US.UTF-8" - if command -v unbuffer > /dev/null; then - unbuffer install-program {{ $softwareList }} - else - install-program {{ $softwareList }} - fi + install-program {{ $softwareList }} else logg error '`zx` is not available' fi diff --git a/local/provision.sh b/local/provision.sh index 1d164df1..b365c184 100644 --- a/local/provision.sh +++ b/local/provision.sh @@ -427,7 +427,7 @@ export DEBIAN_FRONTEND=noninteractive # shellcheck disable=SC2016 logg info 'Running `chezmoi apply`' if [ -n "$FORCE_CHEZMOI" ]; then - chezmoi apply -k --force 2>&1 | tee "${XDG_DATA_DIR:-$HOME/.local/share}/megabyte-labs/betelgeuse.$(date +%s).log" + chezmoi apply -k --force 2>&1 | tee "${XDG_DATA_DIR:-$HOME/.local/share}/megabyte-labs/betelgeuse.$(date +%s).log" | grep --line-buffered else - chezmoi apply -k 2>&1 | tee "${XDG_DATA_DIR:-$HOME/.local/share}/megabyte-labs/betelgeuse.$(date +%s).log" + chezmoi apply -k 2>&1 | tee "${XDG_DATA_DIR:-$HOME/.local/share}/megabyte-labs/betelgeuse.$(date +%s).log" | grep --line-buffered fi