wok diff squashfs/receipt @ rev 2145
openbox: remove loop dep on slitaz-configs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Feb 05 00:00:41 2009 +0100 (2009-02-05) |
parents | c1610baa4cf4 |
children | 749730241669 |
line diff
1.1 --- a/squashfs/receipt Thu Jan 22 18:08:21 2009 +0000 1.2 +++ b/squashfs/receipt Thu Feb 05 00:00:41 2009 +0100 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 +}