wok rev 8878
kbd, lzma, ncursesw, netatalk-pam, pciutils, postfix, procps: restore busybox links in port_remove()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 27 01:38:28 2011 +0100 (2011-02-27) |
parents | 817385d8b34f |
children | 9dee63b88e27 |
files | kbd/receipt lzma/receipt ncursesw/receipt netatalk-pam/receipt pciutils/receipt postfix/receipt procps/receipt |
line diff
1.1 --- a/kbd/receipt Sun Feb 27 01:37:01 2011 +0100 1.2 +++ b/kbd/receipt Sun Feb 27 01:38:28 2011 +0100 1.3 @@ -36,3 +36,21 @@ 1.4 cp -a $_pkg/usr/bin $fs/usr 1.5 } 1.6 1.7 +# Overlap busybox 1.8 +pre_install() 1.9 +{ 1.10 + rm -f $1/usr/bin/deallocvt 1.11 + rm -f $1/usr/bin/chvt 1.12 + rm -f $1/usr/bin/setkeycodes 1.13 + rm -f $1/usr/bin/openvt 1.14 + rm -f $1/usr/bin/kbd_mode 1.15 +} 1.16 + 1.17 +post_remove() 1.18 +{ 1.19 + ln -s /bin/busybox /usr/bin/deallocvt 1.20 + ln -s /bin/busybox /usr/bin/chvt 1.21 + ln -s /bin/busybox /usr/bin/setkeycodes 1.22 + ln -s /bin/busybox /usr/bin/openvt 1.23 + ln -s /bin/busybox /usr/bin/kbd_mode 1.24 +}
2.1 --- a/lzma/receipt Sun Feb 27 01:37:01 2011 +0100 2.2 +++ b/lzma/receipt Sun Feb 27 01:38:28 2011 +0100 2.3 @@ -84,10 +84,12 @@ 2.4 echo "Processing pre-install commands..." 2.5 echo -n "Removing all Busybox replaced utils... " 2.6 rm -f $root/usr/bin/unlzma 2.7 + rm -f $root/usr/bin/lzcat 2.8 status 2.9 } 2.10 2.11 post_remove() 2.12 { 2.13 ln -s /bin/busybox /usr/bin/unlzma 2.14 -} 2.15 \ No newline at end of file 2.16 + ln -s /bin/busybox /usr/bin/lzcat 2.17 +}
3.1 --- a/ncursesw/receipt Sun Feb 27 01:37:01 2011 +0100 3.2 +++ b/ncursesw/receipt Sun Feb 27 01:38:28 2011 +0100 3.3 @@ -45,3 +45,16 @@ 3.4 cp $_pkg/usr/bin/tset $fs/usr/bin 3.5 cp $_pkg/usr/bin/reset $fs/usr/bin 3.6 } 3.7 + 3.8 +# Overlap busybox 3.9 +pre_install() 3.10 +{ 3.11 + rm -f $1/usr/bin/clear 3.12 + rm -f $1/usr/bin/reset 3.13 +} 3.14 + 3.15 +post_remove() 3.16 +{ 3.17 + ln -s /bin/busybox /usr/bin/clear 3.18 + ln -s /bin/busybox /usr/bin/reset 3.19 +}
4.1 --- a/netatalk-pam/receipt Sun Feb 27 01:37:01 2011 +0100 4.2 +++ b/netatalk-pam/receipt Sun Feb 27 01:38:28 2011 +0100 4.3 @@ -51,3 +51,14 @@ 4.4 ---- 4.5 EOF 4.6 } 4.7 + 4.8 +# Overlap busybox 4.9 +pre_install() 4.10 +{ 4.11 + rm -f $1/usr/bin/timeout 4.12 +} 4.13 + 4.14 +post_remove() 4.15 +{ 4.16 + ln -s /bin/busybox /usr/bin/timeout 4.17 +}
5.1 --- a/pciutils/receipt Sun Feb 27 01:37:01 2011 +0100 5.2 +++ b/pciutils/receipt Sun Feb 27 01:38:28 2011 +0100 5.3 @@ -30,3 +30,14 @@ 5.4 cp -a $src/lspci $fs/usr/bin 5.5 cp -a $src/setpci $fs/usr/bin 5.6 } 5.7 + 5.8 +# Overlap busybox 5.9 +pre_install() 5.10 +{ 5.11 + rm -f $1/usr/bin/lspci 5.12 +} 5.13 + 5.14 +post_remove() 5.15 +{ 5.16 + ln -s /bin/busybox /usr/bin/lspci 5.17 +}
6.1 --- a/postfix/receipt Sun Feb 27 01:37:01 2011 +0100 6.2 +++ b/postfix/receipt Sun Feb 27 01:38:28 2011 +0100 6.3 @@ -98,8 +98,15 @@ 6.4 EOF 6.5 } 6.6 6.7 +# Overlap busybox 6.8 +pre_install() 6.9 +{ 6.10 + rm -f $1/usr/sbin/sendmail 6.11 +} 6.12 + 6.13 post_remove() 6.14 { 6.15 deluser postfix 6.16 delgroup postdrop 6.17 + ln -s /bin/busybox /usr/sbin/sendmail 6.18 }
7.1 --- a/procps/receipt Sun Feb 27 01:37:01 2011 +0100 7.2 +++ b/procps/receipt Sun Feb 27 01:38:28 2011 +0100 7.3 @@ -32,3 +32,17 @@ 7.4 done 7.5 } 7.6 7.7 +# Overlap busybox 7.8 +pre_install() 7.9 +{ 7.10 + rm -f $1/usr/bin/pkill 7.11 + rm -f $1/usr/bin/pmap 7.12 + rm -f $1/usr/bin/pgrep 7.13 +} 7.14 + 7.15 +post_remove() 7.16 +{ 7.17 + ln -s /bin/busybox /usr/bin/pkill 7.18 + ln -s /bin/busybox /usr/bin/pmap 7.19 + ln -s /bin/busybox /usr/bin/pgrep 7.20 +}