wok diff squashfs/receipt @ rev 2370

slitaz-eeepc: Tiny docs edit
author Paul Issott <paul@slitaz.org>
date Fri Mar 06 14:25:29 2009 +0000 (2009-03-06)
parents c1610baa4cf4
children 749730241669
line diff
     1.1 --- a/squashfs/receipt	Thu Jan 22 18:08:21 2009 +0000
     1.2 +++ b/squashfs/receipt	Fri Mar 06 14:25:29 2009 +0000
     1.3 @@ -177,3 +177,15 @@
     1.4  {
     1.5  	cp -a $_pkg/usr $_pkg/sbin $fs
     1.6  }
     1.7 +
     1.8 +# Pre remove and post install commands for Tazpkg.
     1.9 +pre_remove()
    1.10 +{
    1.11 +	sed -i '/^squashfs$/d' $1/etc/filesystems
    1.12 +}
    1.13 +
    1.14 +post_install()
    1.15 +{
    1.16 +	grep -qs ^squashfs$ $1/etc/filesystems || \
    1.17 +		echo "squashfs" >> $1/etc/filesystems
    1.18 +}