wok-6.x rev 8876

dosfstools, e2fsprogs, gmime: restore busybox links in port_remove()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 27 01:26:00 2011 +0100 (2011-02-27)
parents b90843fa3804
children 817385d8b34f
files dosfstools/receipt e2fsprogs/receipt gmime/receipt
line diff
     1.1 --- a/dosfstools/receipt	Sun Feb 27 01:21:13 2011 +0100
     1.2 +++ b/dosfstools/receipt	Sun Feb 27 01:26:00 2011 +0100
     1.3 @@ -25,3 +25,14 @@
     1.4  	cp -a $src/dosfslabel $fs/sbin
     1.5  	strip -s $fs/sbin/*
     1.6  }
     1.7 +
     1.8 +# Overlap busybox
     1.9 +pre_install()
    1.10 +{
    1.11 +	rm -f $1/sbin/mkdosfs
    1.12 +}
    1.13 +
    1.14 +post_remove()
    1.15 +{
    1.16 +	ln -s /bin/busybox /sbin/mkdosfs
    1.17 +}
     2.1 --- a/e2fsprogs/receipt	Sun Feb 27 01:21:13 2011 +0100
     2.2 +++ b/e2fsprogs/receipt	Sun Feb 27 01:26:00 2011 +0100
     2.3 @@ -48,3 +48,16 @@
     2.4  	rm $fs/usr/sbin/uuidd $fs/usr/bin/uuidgen
     2.5  	rm $fs/lib/libuuid* $fs/usr/lib/libuuid*
     2.6  }
     2.7 +
     2.8 +# Overlap busybox
     2.9 +pre_install()
    2.10 +{
    2.11 +	rm -f $1/sbin/findfs
    2.12 +	rm -f $1/sbin/tune2fs
    2.13 +}
    2.14 +
    2.15 +post_remove()
    2.16 +{
    2.17 +	ln -s /bin/busybox /sbin/findfs
    2.18 +	ln -s /bin/busybox /sbin/tune2fs
    2.19 +}
     3.1 --- a/gmime/receipt	Sun Feb 27 01:21:13 2011 +0100
     3.2 +++ b/gmime/receipt	Sun Feb 27 01:26:00 2011 +0100
     3.3 @@ -32,3 +32,15 @@
     3.4  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
     3.5  }
     3.6  
     3.7 +# Overlap busybox
     3.8 +pre_install()
     3.9 +{
    3.10 +	rm -f $1/usr/bin/uuencode
    3.11 +	rm -f $1/usr/bin/uudecode
    3.12 +}
    3.13 +
    3.14 +post_remove()
    3.15 +{
    3.16 +	ln -s /bin/busybox /usr/bin/uuencode
    3.17 +	ln -s /bin/busybox /usr/bin/uudecode
    3.18 +}