Added GraphicsMagick support (#492695)
This commit is contained in:
parent
51bf205882
commit
10bea8199c
@ -1,7 +1,7 @@
|
||||
Summary: A text file browser similar to more, but better
|
||||
Name: less
|
||||
Version: 424
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPLv3+
|
||||
Group: Applications/Text
|
||||
Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
|
||||
@ -63,6 +63,9 @@ ls -la $RPM_BUILD_ROOT/etc/profile.d
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Tue Mar 31 2009 Zdenek Prikryl <zprikryl@redhat.com> - 424-4
|
||||
- Added GraphicsMagick support (#492695)
|
||||
|
||||
* Tue Mar 17 2009 Zdenek Prikryl <zprikryl@redhat.com> - 424-3
|
||||
- Added lzma support
|
||||
- Added test if fsync produces EIVAL on tty
|
||||
|
@ -32,9 +32,11 @@ lesspipe() {
|
||||
*.gif|*.jpeg|*.jpg|*.pcd|*.png|*.tga|*.tiff|*.tif)
|
||||
if [ -x /usr/bin/identify ]; then
|
||||
identify "$1"
|
||||
elif [ -x /usr/bin/gm ]; then
|
||||
gm identify "$1"
|
||||
else
|
||||
echo "No identify available"
|
||||
echo "Install ImageMagick to browse images"
|
||||
echo "Install ImageMagick or GraphicsMagick to browse images"
|
||||
fi ;;
|
||||
*)
|
||||
case "$1" in
|
||||
|
Loading…
Reference in New Issue
Block a user