wok-current rev 12527

fluxbox: small fixes
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 25 01:26:49 2012 +0200 (2012-04-25)
parents 044f7a53c852
children 9d6cb53d20cd
files fluxbox/receipt fluxbox/stuff/fluxbox-session
line diff
     1.1 --- a/fluxbox/receipt	Wed Apr 25 00:40:43 2012 +0200
     1.2 +++ b/fluxbox/receipt	Wed Apr 25 01:26:49 2012 +0200
     1.3 @@ -30,32 +30,32 @@
     1.4  	do
     1.5  		cp -a $install/usr/share/fluxbox/$f $fs/usr/share/fluxbox
     1.6  	done
     1.7 -	
     1.8 +
     1.9  	# 3 Default themes --> fluxbox-themes
    1.10  	for s in Shade Flux Results
    1.11  	do
    1.12  		cp -a $install/usr/share/fluxbox/styles/$s \
    1.13  			$fs/usr/share/fluxbox/styles
    1.14  	done
    1.15 -	
    1.16 +
    1.17  	# Split tools --> fluxbox-tools
    1.18  	for t in fbsetroot fbsetbg fluxbox-generate_menu fluxbox-remote \
    1.19  		fluxbox-update_configs
    1.20  	do
    1.21  		rm $fs/usr/bin/$t
    1.22  	done
    1.23 -	
    1.24 +
    1.25  	# XDG Xsessions
    1.26  	cp -a $stuff/xsessions $fs/usr/share
    1.27 -	
    1.28 +
    1.29  	# Custom SliTaz integration
    1.30  	mkdir -p $fs/usr/share/slitaz/fluxbox
    1.31  	cp -a $stuff/fluxbox-session $fs/usr/bin
    1.32 -	cp $stuff/startup $fs/usr/share/slitaz/fluxbox
    1.33 -	cp $stuff/styles $fs/usr/share/fluxbox
    1.34 +	cp -a $stuff/startup $fs/usr/share/slitaz/fluxbox
    1.35 +	cp -a $stuff/styles $fs/usr/share/fluxbox
    1.36  	# Overwrite
    1.37 -	cp $stuff/menu $fs/usr/share/fluxbox
    1.38 -	cp $stuff/init $fs/usr/share/fluxbox
    1.39 +	cp -f $stuff/menu $fs/usr/share/fluxbox
    1.40 +	cp -f $stuff/init $fs/usr/share/fluxbox
    1.41  }
    1.42  
    1.43  post_install()
     2.1 --- a/fluxbox/stuff/fluxbox-session	Wed Apr 25 00:40:43 2012 +0200
     2.2 +++ b/fluxbox/stuff/fluxbox-session	Wed Apr 25 01:26:49 2012 +0200
     2.3 @@ -2,7 +2,7 @@
     2.4  #
     2.5  # SliTaz GNU/Linux Fluxbox session script. This script let use Flux
     2.6  # like Openbox autostart and user dont have to call fluxbox into ther
     2.7 -# startup script. We also set some XDG variables. 
     2.8 +# startup script. We also set some XDG variables.
     2.9  #
    2.10  
    2.11  fluxdir="$HOME/.fluxbox"
    2.12 @@ -14,6 +14,7 @@
    2.13  
    2.14  # Make sure we have config files.
    2.15  if [ ! -x "$fluxdir/startup" ]; then
    2.16 +	mkdir -p $fluxdir
    2.17  	cp /usr/share/slitaz/fluxbox/startup $fluxdir
    2.18  	chmod +x $fluxdir/startup
    2.19  fi