wok diff slim-pam/receipt @ rev 18995

Add: PeaZip 6.0.0 Env:GTK2 - (peazip.org).
author Leonardo Laporte <hackdorte@sapo.pt>
date Sat Mar 19 01:26:01 2016 -0300 (2016-03-19)
parents d0948455b365
children 5b76fac69996
line diff
     1.1 --- a/slim-pam/receipt	Tue May 28 13:24:15 2013 +0000
     1.2 +++ b/slim-pam/receipt	Sat Mar 19 01:26:01 2016 -0300
     1.3 @@ -52,9 +52,9 @@
     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/"default_user .*"/"default_user        $USER"/ "$1/etc/slim.conf"
    1.12  
    1.13  	# In order to update the SLiM, we need to restart it.
    1.14  	# We can't just "/etc/init.d/slim restart" because it momentarily interrupts