Update 2 files

- /home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl
- /local/provision.sh
This commit is contained in:
Brian Zalewski 2023-01-10 08:14:27 +00:00
parent 09f6954405
commit 0a2d9b39a3
2 changed files with 3 additions and 7 deletions

View file

@ -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
else
logg error '`zx` is not available'
fi

View file

@ -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