wok-6.x diff slim/receipt @ rev 19508
Up slitaz-configs(297)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Nov 20 01:03:54 2016 +0200 (2016-11-20) |
parents | c9e270dd464f |
children | 19477586b01f |
line diff
1.1 --- a/slim/receipt Thu Apr 23 16:47:39 2015 +0300 1.2 +++ b/slim/receipt Sun Nov 20 01:03:54 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 }