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

updated tcl and tcl-dev (8.6.3 -> 8.6.9)
author Hans-G?nter Theisgen
date Sat Oct 19 15:38:02 2019 +0100 (2019-10-19)
parents 42b8478866fb
children
line diff
     1.1 --- a/get-wifi-firmware/receipt	Sat Sep 07 16:10:09 2013 +0000
     1.2 +++ b/get-wifi-firmware/receipt	Sat Oct 19 15:38:02 2019 +0100
     1.3 @@ -19,9 +19,9 @@
     1.4  post_install()
     1.5  {
     1.6  	install_resolver=false
     1.7 -	[ -s /etc/resolv.conf -a ! -s $1/etc/resolv.conf ] && install_resolver=true
     1.8 -	$install_resolver && cp /etc/resolv.conf $1/etc/resolv.conf
     1.9 +	[ -s /etc/resolv.conf -a ! -s "$1/etc/resolv.conf" ] && install_resolver=true
    1.10 +	$install_resolver && cp /etc/resolv.conf "$1/etc/resolv.conf"
    1.11  	# directly support some freely distributable firmware drivers 
    1.12 -	chroot $1/ /usr/bin/get-wifi-firmware --get-free-firmware
    1.13 -	$install_resolver && rm -f $1/etc/resolv.conf
    1.14 +	chroot "$1/" /usr/bin/get-wifi-firmware --get-free-firmware
    1.15 +	$install_resolver && rm -f "$1/etc/resolv.conf"
    1.16  }