wok-6.x diff get-wifi-firmware/receipt @ rev 13705
get-OpenOffice3: fix download
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 17 15:11:25 2012 +0100 (2012-12-17) |
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 Mon Dec 17 15:11:25 2012 +0100 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 }