wok-4.x diff lxpanel/receipt @ rev 2093
slitaz-configs: up DEPENDS for 1.0 to 2.0 upgrade (new desktop)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 28 18:57:20 2009 +0100 (2009-01-28) |
parents | 3e877d5724e8 |
children | d04823a784db |
line diff
1.1 --- a/lxpanel/receipt Sat Oct 11 20:23:55 2008 +0000 1.2 +++ b/lxpanel/receipt Wed Jan 28 18:57:20 2009 +0100 1.3 @@ -67,16 +67,8 @@ 1.4 1.5 # Declare lxsession-logout in files.list 1.6 touch $fs/usr/bin/lxsession-logout 1.7 -} 1.8 - 1.9 -# lxpanel logout calls lxsession-logout, not installed by default so 1.10 -# fake. 1.11 -post_install() 1.12 -{ 1.13 - locale root 1.14 - root=$1 1.15 - if [ ! -s $root/usr/bin/lxsession-logout ]; then 1.16 - cat > $root/usr/bin/lxsession-logout << "EOT" 1.17 + if [ ! -s $fs/usr/bin/lxsession-logout ]; then 1.18 + cat > $fs/usr/bin/lxsession-logout << "EOT" 1.19 #!/bin/sh 1.20 # lxsession-logout fake. 1.21 # 1.22 @@ -85,6 +77,6 @@ 1.23 exit 0 1.24 1.25 EOT 1.26 - chmod +x $root/usr/bin/lxsession-logout 1.27 fi 1.28 + chmod +x $fs/usr/bin/lxsession-logout 1.29 }