SPECS: minicom.spec - tput putputs bogus error about $TERM (the TE...

glen glen at pld-linux.org
Sun May 28 15:43:08 CEST 2006


Author: glen                         Date: Sun May 28 13:43:07 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- tput putputs bogus error about $TERM (the TERM is set in cron), so >/dev/null it's invocation
- rel 6

---- Files affected:
SPECS:
   minicom.spec (1.71 -> 1.72) 

---- Diffs:

================================================================
Index: SPECS/minicom.spec
diff -u SPECS/minicom.spec:1.71 SPECS/minicom.spec:1.72
--- SPECS/minicom.spec:1.71	Wed May  3 11:21:48 2006
+++ SPECS/minicom.spec	Sun May 28 15:43:02 2006
@@ -14,7 +14,7 @@
 Summary(zh_CN):	Ňť¸öÎÄąž˝çĂćľÄľ÷ĘÔ˝âľ÷Ć÷żŘÖĆĆ÷şÍÖŐśËÄŁÄâĆ÷ĄŁ
 Name:		minicom
 Version:	2.1
-Release:	5
+Release:	6
 License:	GPL v2
 Group:		Applications/Communications
 Source0:	http://alioth.debian.org/download.php/123/%{name}-%{version}.tar.gz
@@ -137,7 +137,7 @@
 
 cat << 'EOF' > $RPM_BUILD_ROOT/etc/profile.d/minicom.sh
 MINICOM="-L"
-if [ "$TERM" ] && [ "`/usr/bin/tput colors`" != "-1" ] ; then
+if [ "$TERM" ] && [ "`/usr/bin/tput colors 2>/dev/null`" != "-1" ] ; then
 	MINICOM="$MINICOM -c on"
 fi
 export MINICOM
@@ -146,7 +146,7 @@
 cat << 'EOF' > $RPM_BUILD_ROOT/etc/profile.d/minicom.csh
 setenv MINICOM "-L"
 if ( $?TERM ) then
-	if ( "`/usr/bin/tput colors`" != "-1" ) \
+	if ( "`/usr/bin/tput colors 2>/dev/null`" != "-1" ) \
 		setenv MINICOM "$MINICOM -c on"
 endif
 EOF
@@ -196,6 +196,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.72  2006/05/28 13:43:02  glen
+- tput putputs bogus error about $TERM (the TERM is set in cron), so >/dev/null it's invocation
+- rel 6
+
 Revision 1.71  2006/05/03 09:21:48  glen
 - avoid cron logrotate messages "tput: No value for $TERM and no -T specified"
 - rel 5
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/minicom.spec?r1=1.71&r2=1.72&f=u



More information about the pld-cvs-commit mailing list