SVN: rc-scripts/trunk/rc.d/init.d/functions

glen glen at pld-linux.org
Mon Sep 18 19:55:45 CEST 2006


Author: glen
Date: Mon Sep 18 19:55:44 2006
New Revision: 7789

Modified:
   rc-scripts/trunk/rc.d/init.d/functions
Log:
Corrected tput check.

Modified: rc-scripts/trunk/rc.d/init.d/functions
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/functions	(original)
+++ rc-scripts/trunk/rc.d/init.d/functions	Mon Sep 18 19:55:44 2006
@@ -69,7 +69,7 @@
 	fi
 fi
 
-if [ -n "$TPUT" ]; then
+if [ -z "$TPUT" ]; then
 	if [ -d /usr/share/terminfo ] && [ -x /usr/bin/tput -o -x /bin/tput ] ; then
 		TPUT=yes
 		# check if we are on proper terminal


More information about the pld-cvs-commit mailing list