This commit is contained in:
Brian Zalewski 2023-11-30 02:14:54 +00:00
parent 8fead46927
commit dd50ce6d5f
2 changed files with 2 additions and 2 deletions

View file

@ -510,7 +510,7 @@ runChezmoi() {
logg info 'Running chezmoi apply forcefully' logg info 'Running chezmoi apply forcefully'
if command -v unbuffer > /dev/null; then if command -v unbuffer > /dev/null; then
if command -v caffeinate > /dev/null; then if command -v caffeinate > /dev/null; then
caffeinate unbuffer -p chezmoi apply $DEBUG_MODIFIER -k --force 2>&1 | tee "$LOG_FILE" unbuffer -p caffeinate chezmoi apply $DEBUG_MODIFIER -k --force 2>&1 | tee "$LOG_FILE"
else else
unbuffer -p chezmoi apply $DEBUG_MODIFIER -k --force 2>&1 | tee "$LOG_FILE" unbuffer -p chezmoi apply $DEBUG_MODIFIER -k --force 2>&1 | tee "$LOG_FILE"
fi fi

View file

@ -318,7 +318,7 @@ runChezmoi() {
logg info 'Running chezmoi apply forcefully' logg info 'Running chezmoi apply forcefully'
if command -v unbuffer > /dev/null; then if command -v unbuffer > /dev/null; then
if command -v caffeinate > /dev/null; then if command -v caffeinate > /dev/null; then
caffeinate unbuffer -p chezmoi apply $DEBUG_MODIFIER -k --force 2>&1 | tee "$LOG_FILE" unbuffer -p caffeinate chezmoi apply $DEBUG_MODIFIER -k --force 2>&1 | tee "$LOG_FILE"
else else
unbuffer -p chezmoi apply $DEBUG_MODIFIER -k --force 2>&1 | tee "$LOG_FILE" unbuffer -p chezmoi apply $DEBUG_MODIFIER -k --force 2>&1 | tee "$LOG_FILE"
fi fi