[arch-projects] [initscripts] [PATCH 09/13] functions: Correct set_consolefont() indentation

Kurt J. Bosch kjb-temp-2009 at alpenjodel.de
Tue Jul 12 12:11:02 EDT 2011


---
 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



More information about the arch-projects mailing list