wok-next diff grub4dos-linux/receipt @ rev 13245

Move from undigest: turses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 14 13:39:29 2012 +0200 (2012-08-14)
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	Tue Aug 14 13:39:29 2012 +0200
     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