wok-6.x rev 2088
lxpanel: keep lxsession-logout md5sum
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 28 14:08:50 2009 +0100 (2009-01-28) |
parents | 5bf0880f07c1 |
children | c814960a98fb |
files | lxpanel/receipt |
line diff
1.1 --- a/lxpanel/receipt Tue Jan 27 19:58:55 2009 +0100 1.2 +++ b/lxpanel/receipt Wed Jan 28 14:08:50 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 }