wok-current diff slim/receipt @ rev 19138

Add x265
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 16:28:27 2016 +0200 (2016-05-18)
parents c9e270dd464f
children 19477586b01f
line diff
     1.1 --- a/slim/receipt	Thu Apr 23 16:47:39 2015 +0300
     1.2 +++ b/slim/receipt	Wed May 18 16:28:27 2016 +0200
     1.3 @@ -63,8 +63,8 @@
     1.4  post_install()
     1.5  {
     1.6  	local USER
     1.7 -	USER=$(awk -F: '/:1000:1000:/ { print $1 }' < $1/etc/passwd)
     1.8 +	USER=$(awk -F: '/:1000:1000:/ { print $1 }' < "$1/etc/passwd")
     1.9  	[ -n "$USER" ] &&
    1.10 -	sed -i s/"default_user .*"/"default_user        $USER"/ $1/etc/slim.conf
    1.11 -	sed -i 's|>/tmp/X-output||' $1/etc/slim.conf
    1.12 +	sed -i s/"default_user .*"/"default_user        $USER"/ "$1/etc/slim.conf"
    1.13 +	sed -i 's|>/tmp/X-output||' "$1/etc/slim.conf"
    1.14  }