BSD-compliant tee for setup
This commit is contained in:
parent
9ee67e844b
commit
53cee5aa02
@ -43,4 +43,4 @@ source "$DOTWRYN_PATH/setup/config.zsh"
|
|||||||
clear
|
clear
|
||||||
|
|
||||||
# shhh don't worry about it
|
# 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;}
|
||||||
|
@ -28,7 +28,7 @@ STATUS "installation start : $(date)" 2>> "${LOGFILE}"
|
|||||||
SETUP__OS || FAIL 1 'failed to set up os-dependencies (see above)'
|
SETUP__OS || FAIL 1 'failed to set up os-dependencies (see above)'
|
||||||
SETUP__GIT || FAIL 2 'failed to set up git (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)'
|
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}"
|
STATUS "installation complete: $(date)" 2>> "${LOGFILE}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user