]> git.pld-linux.org Git - packages/rpm.git/blob - rpm-file-magic-can-be-mixed-case.patch
- rel 51; fix -Werror=trampolines option
[packages/rpm.git] / rpm-file-magic-can-be-mixed-case.patch
1 --- rpm-5.4.10/scripts/rpm2cpio~        2009-03-19 02:01:24.000000000 +0100
2 +++ rpm-5.4.10/scripts/rpm2cpio 2012-09-18 23:49:28.261438724 +0200
3 @@ -25,13 +25,13 @@
4  EXTRACTOR="dd if=$pkg ibs=$o skip=1"
5  
6  COMPRESSION=`($EXTRACTOR |file -) 2>/dev/null`
7 -if echo $COMPRESSION |grep -q gzip; then
8 +if echo $COMPRESSION |grep -qi gzip; then
9         DECOMPRESSOR=gunzip
10 -elif echo $COMPRESSION |grep -q bzip2; then
11 +elif echo $COMPRESSION |grep -qi bzip2; then
12         DECOMPRESSOR=bunzip2
13 -elif echo $COMPRESSION |grep -q xz; then
14 +elif echo $COMPRESSION |grep -qi xz; then
15         DECOMPRESSOR=unxz
16 -elif echo $COMPRESSION |grep -q cpio; then
17 +elif echo $COMPRESSION |grep -qi cpio; then
18         DECOMPRESSOR=cat
19  else
20         # Most versions of file don't support LZMA, therefore we assume
This page took 0.036033 seconds and 3 git commands to generate.