Update 2 files
- /home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl - /local/provision.sh
This commit is contained in:
parent
09f6954405
commit
0a2d9b39a3
2 changed files with 3 additions and 7 deletions
|
@ -29,11 +29,7 @@ if command -v install-program > /dev/null; then
|
||||||
. "$HOME/.bashrc"
|
. "$HOME/.bashrc"
|
||||||
fi
|
fi
|
||||||
export LC_ALL="en_US.UTF-8"
|
export LC_ALL="en_US.UTF-8"
|
||||||
if command -v unbuffer > /dev/null; then
|
install-program {{ $softwareList }}
|
||||||
unbuffer install-program {{ $softwareList }}
|
|
||||||
else
|
|
||||||
install-program {{ $softwareList }}
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
logg error '`zx` is not available'
|
logg error '`zx` is not available'
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -427,7 +427,7 @@ export DEBIAN_FRONTEND=noninteractive
|
||||||
# shellcheck disable=SC2016
|
# shellcheck disable=SC2016
|
||||||
logg info 'Running `chezmoi apply`'
|
logg info 'Running `chezmoi apply`'
|
||||||
if [ -n "$FORCE_CHEZMOI" ]; then
|
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
|
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
|
fi
|
||||||
|
|
Loading…
Reference in a new issue