wok rev 692

lxpanel: fix creation lxsession-logout post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 26 07:16:10 2008 +0000 (2008-04-26)
parents 06a78ecad4f7
children 3989e3ffe4d1
files lxpanel/receipt
line diff
     1.1 --- a/lxpanel/receipt	Fri Apr 25 22:10:47 2008 +0000
     1.2 +++ b/lxpanel/receipt	Sat Apr 26 07:16:10 2008 +0000
     1.3 @@ -66,7 +66,7 @@
     1.4  {
     1.5  	locale root
     1.6  	root=$1
     1.7 -	if [ ! -f $root/usr/bin/lxsession-logout ]; then
     1.8 +	if [ ! -s $root/usr/bin/lxsession-logout ]; then
     1.9  		cat > $root/usr/bin/lxsession-logout << "EOT"
    1.10  #!/bin/sh
    1.11  # lxsession-logout fake.