wok rev 8875
cups, depmod, diffutils: restore busybox links in port_remove()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 27 01:21:13 2011 +0100 (2011-02-27) |
parents | bd541fb2bef7 |
children | 21b80c68de86 |
files | cups-pam/receipt cups/receipt depmod/receipt diffutils/receipt |
line diff
1.1 --- a/cups-pam/receipt Sat Feb 26 16:34:18 2011 +0000 1.2 +++ b/cups-pam/receipt Sun Feb 27 01:21:13 2011 +0100 1.3 @@ -90,3 +90,14 @@ 1.4 { 1.5 /etc/init.d/cupsd stop 1.6 } 1.7 + 1.8 +# Overlap busybox 1.9 +pre_install() 1.10 +{ 1.11 + rm -f $1/usr/bin/lpr 1.12 +} 1.13 + 1.14 +post_remove() 1.15 +{ 1.16 + ln -s /bin/busybox /usr/bin/lpr 1.17 +}
2.1 --- a/cups/receipt Sat Feb 26 16:34:18 2011 +0000 2.2 +++ b/cups/receipt Sun Feb 27 01:21:13 2011 +0100 2.3 @@ -90,3 +90,14 @@ 2.4 { 2.5 /etc/init.d/cupsd stop 2.6 } 2.7 + 2.8 +# Overlap busybox 2.9 +pre_install() 2.10 +{ 2.11 + rm -f $1/usr/bin/lpr 2.12 +} 2.13 + 2.14 +post_remove() 2.15 +{ 2.16 + ln -s /bin/busybox /usr/bin/lpr 2.17 +}
3.1 --- a/depmod/receipt Sat Feb 26 16:34:18 2011 +0000 3.2 +++ b/depmod/receipt Sun Feb 27 01:21:13 2011 +0100 3.3 @@ -16,13 +16,13 @@ 3.4 cp $_pkg/sbin/depmod $fs/sbin 3.5 } 3.6 3.7 -# Busybox depmod symlink currently not included in the BusyBox package 3.8 -#pre_install() 3.9 -#{ 3.10 -# rm -f $1/sbin/depmod 3.11 -#} 3.12 -# 3.13 -#post_remove() 3.14 -#{ 3.15 -# ln -s /bin/busybox /sbin/depmod 3.16 -#} 3.17 +# Overlap busybox 3.18 +pre_install() 3.19 +{ 3.20 + rm -f $1/sbin/depmod 3.21 +} 3.22 + 3.23 +post_remove() 3.24 +{ 3.25 + ln -s /bin/busybox /sbin/depmod 3.26 +}
4.1 --- a/diffutils/receipt Sat Feb 26 16:34:18 2011 +0000 4.2 +++ b/diffutils/receipt Sun Feb 27 01:21:13 2011 +0100 4.3 @@ -24,3 +24,16 @@ 4.4 mkdir -p $fs/usr 4.5 cp -a $_pkg/usr/bin $fs/usr 4.6 } 4.7 + 4.8 +# Overlap busybox 4.9 +pre_install() 4.10 +{ 4.11 + rm -f $1/usr/bin/diff 4.12 + rm -f $1/usr/bin/cmp 4.13 +} 4.14 + 4.15 +post_remove() 4.16 +{ 4.17 + ln -s /bin/busybox /usr/bin/diff 4.18 + ln -s /bin/busybox /usr/bin/cmp 4.19 +}