# HG changeset patch # User Pascal Bellard # Date 1298766073 -3600 # Node ID b90843fa3804d9fac270dd4c83999fdc281c7e25 # Parent bd541fb2bef7183a1025a7f9a862ea3cb4ecd952 cups, depmod, diffutils: restore busybox links in port_remove() diff -r bd541fb2bef7 -r b90843fa3804 cups-pam/receipt --- a/cups-pam/receipt Sat Feb 26 16:34:18 2011 +0000 +++ b/cups-pam/receipt Sun Feb 27 01:21:13 2011 +0100 @@ -90,3 +90,14 @@ { /etc/init.d/cupsd stop } + +# Overlap busybox +pre_install() +{ + rm -f $1/usr/bin/lpr +} + +post_remove() +{ + ln -s /bin/busybox /usr/bin/lpr +} diff -r bd541fb2bef7 -r b90843fa3804 cups/receipt --- a/cups/receipt Sat Feb 26 16:34:18 2011 +0000 +++ b/cups/receipt Sun Feb 27 01:21:13 2011 +0100 @@ -90,3 +90,14 @@ { /etc/init.d/cupsd stop } + +# Overlap busybox +pre_install() +{ + rm -f $1/usr/bin/lpr +} + +post_remove() +{ + ln -s /bin/busybox /usr/bin/lpr +} diff -r bd541fb2bef7 -r b90843fa3804 depmod/receipt --- a/depmod/receipt Sat Feb 26 16:34:18 2011 +0000 +++ b/depmod/receipt Sun Feb 27 01:21:13 2011 +0100 @@ -16,13 +16,13 @@ cp $_pkg/sbin/depmod $fs/sbin } -# Busybox depmod symlink currently not included in the BusyBox package -#pre_install() -#{ -# rm -f $1/sbin/depmod -#} -# -#post_remove() -#{ -# ln -s /bin/busybox /sbin/depmod -#} +# Overlap busybox +pre_install() +{ + rm -f $1/sbin/depmod +} + +post_remove() +{ + ln -s /bin/busybox /sbin/depmod +} diff -r bd541fb2bef7 -r b90843fa3804 diffutils/receipt --- a/diffutils/receipt Sat Feb 26 16:34:18 2011 +0000 +++ b/diffutils/receipt Sun Feb 27 01:21:13 2011 +0100 @@ -24,3 +24,16 @@ mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr } + +# Overlap busybox +pre_install() +{ + rm -f $1/usr/bin/diff + rm -f $1/usr/bin/cmp +} + +post_remove() +{ + ln -s /bin/busybox /usr/bin/diff + ln -s /bin/busybox /usr/bin/cmp +}