From d1d59d992d1f7463e194629d66ce513c5c53749e Mon Sep 17 00:00:00 2001 From: Jaroslav Škarvada Date: Nov 26 2013 15:56:53 +0000 Subject: Removed coloring restriction for interactive shells Resolves: rhbz#1034631 --- diff --git a/colorgrep.sh b/colorgrep.sh index 9b23d61..57f7aba 100644 --- a/colorgrep.sh +++ b/colorgrep.sh @@ -1,8 +1,5 @@ # color-grep initialization -# Skip the rest for noninteractive shells. -[ -z "$PS1" ] && return - if [ -r /etc/GREP_COLORS ]; then grep -qi "^COLOR.*none" /etc/GREP_COLORS >/dev/null 2>/dev/null && return fi diff --git a/grep.spec b/grep.spec index fe9fdbc..391ed0e 100644 --- a/grep.spec +++ b/grep.spec @@ -3,7 +3,7 @@ Summary: Pattern matching utilities Name: grep Version: 2.15 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Applications/Text Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}.tar.xz @@ -85,6 +85,10 @@ fi %{_mandir}/*/* %changelog +* Tue Nov 26 2013 Jaroslav Škarvada - 2.15-2 +- Removed coloring restriction for interactive shells + Resolves: rhbz#1034631 + * Tue Oct 29 2013 Jaroslav Škarvada - 2.15-1 - New version Resolves: rhbz#1023698