Don't convert files with UTF-16/UTF-32 string in filename
This commit is contained in:
parent
9eb8cf8b45
commit
051cac53ff
@ -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: 436
|
Version: 436
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
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
|
||||||
@ -71,6 +71,10 @@ ls -la $RPM_BUILD_ROOT/etc/profile.d
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 13 2011 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 436-10
|
||||||
|
- Don't convert files with UTF-16/UTF-32 string in filename
|
||||||
|
Resolve: #638312
|
||||||
|
|
||||||
* Tue Feb 15 2011 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 436-9
|
* Tue Feb 15 2011 Vojtech Vitek (V-Teq) <vvitek@redhat.com> - 436-9
|
||||||
- Clean lesspipe.sh script
|
- Clean lesspipe.sh script
|
||||||
- Split case for compressed and plain troff files
|
- Split case for compressed and plain troff files
|
||||||
|
@ -60,7 +60,7 @@ case "$1" in
|
|||||||
fi ;;
|
fi ;;
|
||||||
*)
|
*)
|
||||||
if [ -x /usr/bin/file -a -x /usr/bin/iconv -a -x /usr/bin/cut ]; then
|
if [ -x /usr/bin/file -a -x /usr/bin/iconv -a -x /usr/bin/cut ]; then
|
||||||
case `file "$1"` in
|
case `file -b "$1"` in
|
||||||
*UTF-16*) conv='UTF-16' ;;
|
*UTF-16*) conv='UTF-16' ;;
|
||||||
*UTF-32*) conv='UTF-32' ;;
|
*UTF-32*) conv='UTF-32' ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user