wok-current diff dev86/receipt @ rev 12441
links: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 21 17:56:48 2012 +0200 (2012-04-21) |
parents | 2695888b0f59 |
children | 4c16797dce28 |
line diff
1.1 --- a/dev86/receipt Mon Jan 17 17:24:02 2011 +0100 1.2 +++ b/dev86/receipt Sat Apr 21 17:56:48 2012 +0200 1.3 @@ -29,3 +29,12 @@ 1.4 cp -a $_pkg/usr/lib $fs/usr 1.5 } 1.6 1.7 +# Pre and post install commands for Tazpkg. 1.8 +post_install() 1.9 +{ 1.10 + [ -z "$1" -a -f /proc/sys/fs/binfmt_misc/register ] && 1.11 + cat > /proc/sys/fs/binfmt_misc/register <<EOT 1.12 +:i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/usr/bin/elksemu: 1.13 +EOT 1.14 +} 1.15 +