packages: metamail/htmlview - don't try outsmart the system by	running xter...
    baggins 
    baggins at pld-linux.org
       
    Tue May  5 14:31:59 CEST 2009
    
    
  
Author: baggins                      Date: Tue May  5 12:31:59 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- don't try outsmart the system by running xterminal when STDOUT_IS_PIPE
---- Files affected:
packages/metamail:
   htmlview (1.4 -> 1.5) 
---- Diffs:
================================================================
Index: packages/metamail/htmlview
diff -u packages/metamail/htmlview:1.4 packages/metamail/htmlview:1.5
--- packages/metamail/htmlview:1.4	Tue May  5 14:17:49 2009
+++ packages/metamail/htmlview	Tue May  5 14:31:54 2009
@@ -138,7 +138,7 @@
 	TERMS="$TERMS_KDE $TERMS_GNOME $TERMS_GENERIC"
 fi
 
-if test "x$DISPLAY" = x; then
+if test "x$DISPLAY" = x || [ $STDOUT_IS_PIPE = 1 ]; then
 	for i in $TTYTOOLS; do
 		if IS_FUNC_WORKING $i; then
 			$i $*
================================================================
---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/metamail/htmlview?r1=1.4&r2=1.5&f=u
    
    
More information about the pld-cvs-commit
mailing list