wok-next diff dev86/receipt @ rev 12697
slitaz-tools: temp patch to tazinst removed
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu May 03 07:51:54 2012 +0200 (2012-05-03) |
parents | 2695888b0f59 |
children | 4c16797dce28 |
line diff
1.1 --- a/dev86/receipt Mon Jan 17 17:24:02 2011 +0100 1.2 +++ b/dev86/receipt Thu May 03 07:51:54 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 +