wok diff dev86/receipt @ rev 11808

Up slitaz-configs (4.8) - New Openbox and GTK theme
author Christophe Lincoln <pankso@slitaz.org>
date Sat Feb 25 16:57:02 2012 +0100 (2012-02-25)
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 Feb 25 16:57:02 2012 +0100
     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 +