wok diff get-wifi-firmware/receipt @ rev 13436

Up: claws-mail-attremover(1.0.14)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Oct 07 01:18:17 2012 +0200 (2012-10-07)
parents 10dc8abeebb2
children cca1658587e4
line diff
     1.1 --- a/get-wifi-firmware/receipt	Tue Jun 26 11:55:39 2012 +0200
     1.2 +++ b/get-wifi-firmware/receipt	Sun Oct 07 01:18:17 2012 +0200
     1.3 @@ -17,6 +17,10 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 +	install_resolver=false
     1.8 +	[ -s /etc/resolv.conf -a ! -s $1/etc/resolv.conf ] && install_resolver=true
     1.9 +	$install_resolver && cp /etc/resolv.conf $1/etc/resolv.conf
    1.10  	# directly support some freely distributable firmware drivers 
    1.11  	chroot $1 /usr/bin/get-wifi-firmware --get-free-firmware
    1.12 +	$install_resolver && rm -f $1/etc/resolv.conf
    1.13  }