wok-current rev 7298
Fixed pciutils to only manauly gzip pci.ids file if its not gzip. Fixes the problem in clean chroot.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 17 02:01:49 2010 +0000 (2010-11-17) |
parents | 35a10ca4f67b |
children | db069f80c0a0 |
files | pciutils/receipt |
line diff
1.1 --- a/pciutils/receipt Wed Nov 17 00:59:02 2010 +0000 1.2 +++ b/pciutils/receipt Wed Nov 17 02:01:49 2010 +0000 1.3 @@ -22,7 +22,9 @@ 1.4 genpkg_rules() 1.5 { 1.6 mkdir -p $fs/usr/bin $fs/usr/share/misc 1.7 - gzip $src/pci.ids 1.8 + if [ ! -f $src/pci.ids.gz ]; then 1.9 + gzip $src/pci.ids 1.10 + fi 1.11 cp -a $src/pci.ids.gz $fs/usr/share/misc 1.12 cp -a $src/lspci $fs/usr/bin 1.13 cp -a $src/setpci $fs/usr/bin