BSD-compliant tee for setup

This commit is contained in:
Wryn (yage) Wagner 2025-02-04 15:18:02 -07:00
parent 9ee67e844b
commit 53cee5aa02
Signed by: wrynegade
SSH Key Fingerprint: SHA256:zBGO05Uz1oT7pnehoPelgUmYX632oFjt3MBH0MlEvrs
2 changed files with 2 additions and 2 deletions

View File

@ -43,4 +43,4 @@ source "$DOTWRYN_PATH/setup/config.zsh"
clear
# shhh don't worry about it
[[ $CI -ne 0 ]] || {C=$((){B(){base64 -d};A="$(cat "$2")";for _ in {1..$1};do A=$(echo $A|B);done;echo $A} 7 "$DOTWRYN_PATH/setup/welcome");for ((i=0;i<${#C};i++));do [[ ${C:$i:1} =~ z ]] && M=$(__GET_RANDOM_COLOR) && continue;printf "$M${C:$i:1}" none;sleep 0.01;done;echo;unset C M;}
[[ $CI -ne 0 ]] || {C=$((){B(){base64 -d};A="$(cat "$2")";for _ in {1..$1};do A=$(echo $A|B);done;echo $A} 7 "$DOTWRYN_PATH/setup/welcome");for ((i=0;i<${#C};i++));do [[ ${C:$i:1} =~ z ]] && M=$(uname -s | grep -v Darwin || __GET_RANDOM_COLOR) && continue;printf "$M${C:$i:1}" none;sleep 0.01;done;echo;unset C M;}

View File

@ -28,7 +28,7 @@ STATUS "installation start : $(date)" 2>> "${LOGFILE}"
SETUP__OS || FAIL 1 'failed to set up os-dependencies (see above)'
SETUP__GIT || FAIL 2 'failed to set up git (see above)'
SETUP__CONFIG || FAIL 3 'failed to set up program configuration (see above)'
} 2>&1 | tee --append "${LOGFILE}"
} 2>&1 | tee -a "${LOGFILE}"
STATUS "installation complete: $(date)" 2>> "${LOGFILE}"