diff --git a/coreutils-colorls.csh b/coreutils-colorls.csh index 48daa78..0c1b2e3 100755 --- a/coreutils-colorls.csh +++ b/coreutils-colorls.csh @@ -16,7 +16,7 @@ if ($?TERM) then endif endif if ( -e "/etc/DIR_COLORS.256color" ) then - if ( "`tty -s && tput colors`" == "256" ) then + if ( "`tty -s` && tput colors" == "256" ) then set COLORS=/etc/DIR_COLORS.256color endif endif diff --git a/coreutils.spec b/coreutils.spec index c9a78e8..7e0976e 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -1,7 +1,7 @@ Summary: A set of basic GNU tools commonly used in shell scripts Name: coreutils Version: 8.16 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: System Environment/Base Url: http://www.gnu.org/software/coreutils/ @@ -416,6 +416,10 @@ fi %{?!norunuser:%{_sbindir}/runuser} %changelog +* Mon Apr 16 2012 Ondrej Vasik 8.16-2 +- fix the tcsh colorls.csh behaviour in non-interactive + mode (#804604) + * Mon Mar 26 2012 Ondrej Vasik 8.16-1 - new upstream release 8.16 - defuzz patches, remove already applied patches