wok-6.x diff kbd/receipt @ rev 9820
ejabberd: Needs DESTDIR to be packaged.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 14 20:17:54 2011 +0000 (2011-05-14) |
parents | 9b7526485ebb |
children | eef7c8c8ad4e |
line diff
1.1 --- a/kbd/receipt Thu Jan 27 00:20:50 2011 +0100 1.2 +++ b/kbd/receipt Sat May 14 20:17:54 2011 +0000 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 +}