wok-current diff udev/receipt @ rev 19197

Up firefox-official(47.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 07 03:43:06 2016 +0300 (2016-06-07)
parents 911df1d92666
children 72f4278c6091
line diff
     1.1 --- a/udev/receipt	Mon Nov 09 14:43:54 2015 +0200
     1.2 +++ b/udev/receipt	Tue Jun 07 03:43:06 2016 +0300
     1.3 @@ -86,7 +86,7 @@
     1.4  list_udev_group()
     1.5  {
     1.6  	object=${2:-GROUP}
     1.7 -	grep $object $1/etc/udev/rules.d/* | \
     1.8 +	grep $object "$1/etc/udev/rules.d/"* | \
     1.9  	sed "s|.*$object=\"\([a-zA-Z0-9]*\)\".*|\1|" | sort | uniq
    1.10  }
    1.11  
    1.12 @@ -95,10 +95,10 @@
    1.13  	# Sanity check for udev+ldap boot
    1.14  	list_udev_group "$1" GROUP | \
    1.15  	while read x; do
    1.16 -		grep -q ^$x: $1/etc/group || chroot $1/ addgroup -S $x
    1.17 +		grep -q ^$x: "$1/etc/group" || chroot "$1/" addgroup -S $x
    1.18  	done
    1.19  	list_udev_group "$1" OWNER | \
    1.20  	while read x; do
    1.21 -		grep -q ^$x: $1/etc/passwd || chroot $1/ adduser -S -D -H $x
    1.22 +		grep -q ^$x: "$1/etc/passwd" || chroot "$1/" adduser -S -D -H $x
    1.23  	done
    1.24  }