wok-current diff grub4dos-linux/receipt @ rev 14289
Up: eet-dev (1.7.5)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Apr 07 10:00:43 2013 +0200 (2013-04-07) |
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 Sun Apr 07 10:00:43 2013 +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