wok-6.x rev 18846
busybox: fix pre_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 23 09:35:16 2016 +0100 (2016-01-23) |
parents | 9db5705d64a7 |
children | c05d347e9bb5 |
files | busybox/receipt |
line diff
1.1 --- a/busybox/receipt Sat Jan 23 09:22:02 2016 +0100 1.2 +++ b/busybox/receipt Sat Jan 23 09:35:16 2016 +0100 1.3 @@ -180,6 +180,7 @@ 1.4 pre_install() 1.5 { 1.6 local i 1.7 + [ -s $1/etc/resolv.conf ] && 1.8 cp -a $1/etc/resolv.conf $1/etc/resolv.conf-busybox-install 1.9 answer="" 1.10 for i in $(cat "$1$INSTALLED/$PACKAGE/files.list"); do