LESSOPEN: use '||' syntax again
Related: rhbz#1254837 Version: 481-5
This commit is contained in:
parent
6dde17a846
commit
8e7f15f2e1
3
less.csh
3
less.csh
@ -9,6 +9,7 @@ if ( $?LESSOPEN && { eval 'test ! -z "$LESSOPEN"' } ) then
|
|||||||
:
|
:
|
||||||
else
|
else
|
||||||
if ( -x /usr/bin/lesspipe.sh ) then
|
if ( -x /usr/bin/lesspipe.sh ) then
|
||||||
setenv LESSOPEN "|/usr/bin/lesspipe.sh %s"
|
# The '||' here is intentional, see rhbz#1254837.
|
||||||
|
setenv LESSOPEN "||/usr/bin/lesspipe.sh %s"
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
3
less.sh
3
less.sh
@ -3,5 +3,6 @@
|
|||||||
# All less.*sh files should have the same semantics!
|
# All less.*sh files should have the same semantics!
|
||||||
|
|
||||||
if [ -z "$LESSOPEN" ] && [ -x /usr/bin/lesspipe.sh ]; then
|
if [ -z "$LESSOPEN" ] && [ -x /usr/bin/lesspipe.sh ]; then
|
||||||
export LESSOPEN="|/usr/bin/lesspipe.sh %s"
|
# The '||' here is intentional, see rhbz#1254837.
|
||||||
|
export LESSOPEN="||/usr/bin/lesspipe.sh %s"
|
||||||
fi
|
fi
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: A text file browser similar to more, but better
|
Summary: A text file browser similar to more, but better
|
||||||
Name: less
|
Name: less
|
||||||
Version: 481
|
Version: 481
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
License: GPLv3+ or BSD
|
License: GPLv3+ or BSD
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
|
Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
|
||||||
@ -65,6 +65,9 @@ install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/profile.d
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 25 2016 Pavel Raiskup <praiskup@redhat.com> - 481-5
|
||||||
|
- again use the correct '||' syntax in LESSOPEN variable (rhbz#1254837)
|
||||||
|
|
||||||
* Wed Apr 20 2016 Pavel Raiskup <praiskup@redhat.com> - 481-4
|
* Wed Apr 20 2016 Pavel Raiskup <praiskup@redhat.com> - 481-4
|
||||||
- don't strictly require man-db or groff-base (rhbz#1278857)
|
- don't strictly require man-db or groff-base (rhbz#1278857)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user