wok diff mate/receipt @ rev 20319

Up tazlito (501)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 20 13:28:18 2018 +0200 (2018-05-20)
parents c47175d00df6
children
line diff
     1.1 --- a/mate/receipt	Sun Feb 26 15:58:33 2017 +0100
     1.2 +++ b/mate/receipt	Sun May 20 13:28:18 2018 +0200
     1.3 @@ -38,6 +38,7 @@
     1.4  	root=$1
     1.5  	res=$(cat $root/etc/slim.conf | grep ^session | sed s/"sessions. *"//)
     1.6  	if ! echo "$res" | grep -q $PACKAGE; then
     1.7 +		echo
     1.8  		echo -n "Adding $PACKAGE to /etc/slim.conf..."
     1.9  		sed -i "s/^sessions.*/sessions            ${res},$PACKAGE/" $root/etc/slim.conf
    1.10  		status