12 Jul
2011
12 Jul
'11
4:11 p.m.
--- functions | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/functions b/functions index 77387cb..722098d 100644 --- a/functions +++ b/functions @@ -512,13 +512,13 @@ set_consolefont() { setfont ${CONSOLEMAP:+-m ${CONSOLEMAP}} \ $CONSOLEFONT -C ${i} &>/dev/null done - if (( $? )); then - false - elif [[ $CONSOLEMAP ]]; then - cat <<"EOF" >>/etc/profile.d/locale.sh + if (( $? )); then + false + elif [[ $CONSOLEMAP ]]; then + cat <<"EOF" >>/etc/profile.d/locale.sh if [ "$CONSOLE" = "" -a "$TERM" = "linux" -a -t 1 ]; then printf "\033(K"; fi EOF - fi + fi (( $? == 0 )) && stat_done || stat_fail } -- 1.7.1