wok-6.x diff enlightenment/receipt @ rev 14328
Up: enlightenment (0.17.2.1)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Apr 12 19:23:54 2013 +0200 (2013-04-12) |
parents | 04a81f96cbb1 |
children | e01e3ba825f1 |
line diff
1.1 --- a/enlightenment/receipt Mon Apr 08 08:52:11 2013 +0200 1.2 +++ b/enlightenment/receipt Fri Apr 12 19:23:54 2013 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="enlightenment" 1.7 -VERSION="0.17.1" 1.8 +VERSION="0.17.2.1" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="Enlightenment window manager (E17)." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -65,7 +65,7 @@ 1.13 # Adding WM to SLIM available sessions. 1.14 if ! echo "$res" | grep -q enlightenment; then 1.15 echo -n "Adding enlightenment to /etc/slim.conf..." 1.16 - sed -i "s/^sessions.*/sessions ${res},enlightenment/" \ 1.17 + sed -i "s/^sessions.*/sessions enlightenment,${res}xs/" \ 1.18 /etc/slim.conf 1.19 status 1.20 fi 1.21 @@ -74,7 +74,7 @@ 1.22 post_remove() 1.23 { 1.24 # Remove WM from SLIM available sessions. 1.25 - if grep -q e17 $1/etc/slim.conf; then 1.26 - sed -i s/,e17// $1/etc/slim.conf 1.27 + if grep -q enlightenment $1/etc/slim.conf; then 1.28 + sed -i s/enlightenment,// $1/etc/slim.conf 1.29 fi 1.30 }