wok rev 983

busybox: do not wipe out nameserver during install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 01 21:15:12 2008 +0000 (2008-07-01)
parents 050151a9f32f
children 892930883f57
files busybox/receipt
line diff
     1.1 --- a/busybox/receipt	Mon Jun 30 22:31:55 2008 +0000
     1.2 +++ b/busybox/receipt	Tue Jul 01 21:15:12 2008 +0000
     1.3 @@ -65,7 +65,13 @@
     1.4  # Force glibc-2.7 reinstall if 2.3.6 still in use.
     1.5  pre_install()
     1.6  {
     1.7 +	cp -a /etc/resolv.conf /etc/resolv.conf-busybox-install
     1.8  	if grep -q 'VERSION="2.3.6"' /var/lib/tazpkg/installed/glibc-base/receipt; then
     1.9  		tazpkg get-install glibc-base --forced
    1.10  	fi
    1.11  }
    1.12 +
    1.13 +post_install()
    1.14 +{
    1.15 +	mv -f /etc/resolv.conf-busybox-install /etc/resolv.conf
    1.16 +}