Update 2 files
- /local/provision.sh - /home/dot_local/bin/executable_provision.tmpl
This commit is contained in:
parent
623b55b465
commit
c943b5a53e
2 changed files with 20 additions and 4 deletions
|
@ -260,7 +260,15 @@ 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
|
||||||
|
if command -v unbuffer > /dev/null; then
|
||||||
|
unbuffer -p chezmoi apply -k --force 2>&1 | tee "${XDG_DATA_DIR:-$HOME/.local/share}/megabyte-labs/betelgeuse.$(date +%s).log"
|
||||||
|
else
|
||||||
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"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
if command -v unbuffer > /dev/null; then
|
||||||
|
unbuffer -p chezmoi apply -k 2>&1 | tee "${XDG_DATA_DIR:-$HOME/.local/share}/megabyte-labs/betelgeuse.$(date +%s).log"
|
||||||
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"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
|
@ -427,7 +427,15 @@ 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
|
||||||
|
if command -v unbuffer > /dev/null; then
|
||||||
|
unbuffer -p chezmoi apply -k --force 2>&1 | tee "${XDG_DATA_DIR:-$HOME/.local/share}/megabyte-labs/betelgeuse.$(date +%s).log"
|
||||||
|
else
|
||||||
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"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
if command -v unbuffer > /dev/null; then
|
||||||
|
unbuffer -p chezmoi apply -k 2>&1 | tee "${XDG_DATA_DIR:-$HOME/.local/share}/megabyte-labs/betelgeuse.$(date +%s).log"
|
||||||
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"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue