# HG changeset patch # User Pascal Bellard # Date 1233148130 -3600 # Node ID 3eb54f60865091bea9156d57067e3effc41fb651 # Parent 5bf0880f07c189bc5714deed8f25fc843db185e8 lxpanel: keep lxsession-logout md5sum diff -r 5bf0880f07c1 -r 3eb54f608650 lxpanel/receipt --- a/lxpanel/receipt Tue Jan 27 19:58:55 2009 +0100 +++ b/lxpanel/receipt Wed Jan 28 14:08:50 2009 +0100 @@ -67,16 +67,8 @@ # Declare lxsession-logout in files.list touch $fs/usr/bin/lxsession-logout -} - -# lxpanel logout calls lxsession-logout, not installed by default so -# fake. -post_install() -{ - locale root - root=$1 - if [ ! -s $root/usr/bin/lxsession-logout ]; then - cat > $root/usr/bin/lxsession-logout << "EOT" + if [ ! -s $fs/usr/bin/lxsession-logout ]; then + cat > $fs/usr/bin/lxsession-logout << "EOT" #!/bin/sh # lxsession-logout fake. # @@ -85,6 +77,6 @@ exit 0 EOT - chmod +x $root/usr/bin/lxsession-logout fi + chmod +x $fs/usr/bin/lxsession-logout }