wok-4.x rev 8880
beep, bind-client, bridge-utils: restore busybox links in port_remove()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 27 01:46:56 2011 +0100 (2011-02-27) |
parents | 9dee63b88e27 |
children | 28ebec3616b1 |
files | beep/receipt bind-client/receipt bridge-utils/receipt |
line diff
1.1 --- a/beep/receipt Sun Feb 27 01:43:15 2011 +0100 1.2 +++ b/beep/receipt Sun Feb 27 01:46:56 2011 +0100 1.3 @@ -23,3 +23,13 @@ 1.4 cp $src/beep $fs/usr/bin 1.5 } 1.6 1.7 +# Overlap busybox 1.8 +pre_install() 1.9 +{ 1.10 + rm -f $1/usr/bin/beep 1.11 +} 1.12 + 1.13 +post_remove() 1.14 +{ 1.15 + ln -s /bin/busybox /usr/bin/beep 1.16 +}
2.1 --- a/bind-client/receipt Sun Feb 27 01:43:15 2011 +0100 2.2 +++ b/bind-client/receipt Sun Feb 27 01:46:56 2011 +0100 2.3 @@ -16,3 +16,14 @@ 2.4 cp -a $_pkg/usr/bin $fs/usr 2.5 } 2.6 2.7 +# Overlap busybox 2.8 +pre_install() 2.9 +{ 2.10 + rm -f $1/usr/bin/nslookup 2.11 +} 2.12 + 2.13 +post_remove() 2.14 +{ 2.15 + ln -s /bin/busybox /usr/bin/nslookup 2.16 +} 2.17 +
3.1 --- a/bridge-utils/receipt Sun Feb 27 01:43:15 2011 +0100 3.2 +++ b/bridge-utils/receipt Sun Feb 27 01:46:56 2011 +0100 3.3 @@ -29,3 +29,14 @@ 3.4 cp -a $_pkg/usr/sbin $fs/usr 3.5 } 3.6 3.7 +# Overlap busybox 3.8 +pre_install() 3.9 +{ 3.10 + rm -f $1/usr/sbin/brctl 3.11 +} 3.12 + 3.13 +post_remove() 3.14 +{ 3.15 + ln -s /bin/busybox /usr/sbin/brctl 3.16 +} 3.17 +