wok diff grub4dos-linux/receipt @ rev 11634

Up sudo (1.8.3p2: security fix)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 02 16:42:58 2012 +0100 (2012-02-02)
parents 5e3fa1dc4048
children d1c17bd2c2bc
line diff
     1.1 --- a/grub4dos-linux/receipt	Thu Jul 07 00:28:49 2011 +0200
     1.2 +++ b/grub4dos-linux/receipt	Thu Feb 02 16:42:58 2012 +0100
     1.3 @@ -12,10 +12,11 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr/lib/grub/i386-slitaz
     1.8 +	libarch=$(basename `ls $_pkg/usr/lib/grub`)
     1.9 +	mkdir -p $fs/usr/lib/grub/$libarch
    1.10  	cp -a $_pkg/usr/bin $fs/usr
    1.11  	cp -a $_pkg/usr/sbin $fs/usr
    1.12 -	cp -a  $_pkg/usr/lib/grub/i386-slitaz/*stage* \
    1.13 -		$fs/usr/lib/grub/i386-slitaz
    1.14 +	cp -a  $_pkg/usr/lib/grub/$libarch/*stage* \
    1.15 +		$fs/usr/lib/grub/$libarch
    1.16  }
    1.17