change way of detection of interactive shell in colorls.sh script
This commit is contained in:
parent
ee3bfc24ca
commit
34ffa2ef55
@ -1,7 +1,7 @@
|
|||||||
# color-ls initialization
|
# color-ls initialization
|
||||||
|
|
||||||
# Skip all for noninteractive shells.
|
# 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.
|
#when USER_LS_COLORS defined do not override user LS_COLORS, but use them.
|
||||||
if [ -z "$USER_LS_COLORS" ]; then
|
if [ -z "$USER_LS_COLORS" ]; then
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: A set of basic GNU tools commonly used in shell scripts
|
Summary: A set of basic GNU tools commonly used in shell scripts
|
||||||
Name: coreutils
|
Name: coreutils
|
||||||
Version: 8.25
|
Version: 8.25
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Url: http://www.gnu.org/software/coreutils/
|
Url: http://www.gnu.org/software/coreutils/
|
||||||
@ -351,6 +351,10 @@ fi
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- 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)
|
- do not use /bin/mv in %%post to avoid a circular dependency (#1348043)
|
||||||
|
Loading…
Reference in New Issue
Block a user