wok-stable diff lxpanel/receipt @ rev 623

Up: lxpanel (0.3.5.2)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 21 00:44:02 2008 +0200 (2008-04-21)
parents 4b565515822c
children c2f0c4bc32ae
line diff
     1.1 --- a/lxpanel/receipt	Fri Apr 18 18:18:08 2008 +0200
     1.2 +++ b/lxpanel/receipt	Mon Apr 21 00:44:02 2008 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lxpanel"
     1.7 -VERSION="0.3.5"
     1.8 +VERSION="0.3.5.2"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Standard compliant desktop panel."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -35,7 +35,12 @@
    1.13      cp -a $_pkg/usr/share/lxpanel $fs/usr/share
    1.14      
    1.15      # Remove a few "heavy" an unseful images
    1.16 -    rm $fs/usr/share/lxpanel/images/*.svg
    1.17 +    rm $fs/usr/share/lxpanel/images/gnome-applications.png
    1.18 +    rm $fs/usr/share/lxpanel/images/gnome-devel.png
    1.19 +    rm $fs/usr/share/lxpanel/images/gnome-joystick.png
    1.20 +    rm $fs/usr/share/lxpanel/images/gnome-multimedia.png
    1.21 +    rm $fs/usr/share/lxpanel/images/gnome-g*.png
    1.22 +    rm $fs/usr/share/lxpanel/images/redhat*.png
    1.23      
    1.24      # Move profile to /etc/lxpanel (/usr maybe read-only)
    1.25      mkdir $fs/etc
    1.26 @@ -60,12 +65,12 @@
    1.27  #
    1.28  WM=`cat /etc/X11/wm.default`
    1.29  
    1.30 -case $WM in
    1.31 -	jwm)
    1.32 -		jwm -exit ;;
    1.33 -	openbox)
    1.34 -		openbox --exit ;;
    1.35 -esac
    1.36 +if [ "$WM" = "jwm" ]; then
    1.37 +	jwm -exit
    1.38 +else
    1.39 +	openbox --exit
    1.40 +fi
    1.41 +
    1.42  EOT
    1.43  	chmod +x $root/usr/bin/lxsession-logout
    1.44  	fi