change way of detection of interactive shell in colorls.sh script

This commit is contained in:
Ondřej Vašík 2016-06-24 12:45:22 +02:00
parent ee3bfc24ca
commit 34ffa2ef55
2 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# color-ls initialization
# Skip all for noninteractive shells.
[ -z "$PS1" ] && return
[ ! -t 0 ] && return
#when USER_LS_COLORS defined do not override user LS_COLORS, but use them.
if [ -z "$USER_LS_COLORS" ]; then

View File

@ -1,7 +1,7 @@
Summary: A set of basic GNU tools commonly used in shell scripts
Name: coreutils
Version: 8.25
Release: 9%{?dist}
Release: 10%{?dist}
License: GPLv3+
Group: System Environment/Base
Url: http://www.gnu.org/software/coreutils/
@ -351,6 +351,10 @@ fi
%license COPYING
%changelog
* Fri Jun 24 2016 Ondrej Vasik <ovasik@redhat.com> - 8.25-10
- change way of detection of interactive shell in colorls.sh script
(#1321648)
* Mon Jun 20 2016 Kamil Dudka <kdudka@redhat.com> - 8.25-9
- add BR for glibc-langpack-en to prevent the expand/mb test from failing
- do not use /bin/mv in %%post to avoid a circular dependency (#1348043)