# HG changeset patch # User Christophe Lincoln # Date 1335310009 -7200 # Node ID e000ccc93a7bd5d0d6ae82200bb42e71a7f9bc9b # Parent 044f7a53c852057b0793dd6860b4cab0df67abb7 fluxbox: small fixes diff -r 044f7a53c852 -r e000ccc93a7b fluxbox/receipt --- a/fluxbox/receipt Wed Apr 25 00:40:43 2012 +0200 +++ b/fluxbox/receipt Wed Apr 25 01:26:49 2012 +0200 @@ -30,32 +30,32 @@ do cp -a $install/usr/share/fluxbox/$f $fs/usr/share/fluxbox done - + # 3 Default themes --> fluxbox-themes for s in Shade Flux Results do cp -a $install/usr/share/fluxbox/styles/$s \ $fs/usr/share/fluxbox/styles done - + # Split tools --> fluxbox-tools for t in fbsetroot fbsetbg fluxbox-generate_menu fluxbox-remote \ fluxbox-update_configs do rm $fs/usr/bin/$t done - + # XDG Xsessions cp -a $stuff/xsessions $fs/usr/share - + # Custom SliTaz integration mkdir -p $fs/usr/share/slitaz/fluxbox cp -a $stuff/fluxbox-session $fs/usr/bin - cp $stuff/startup $fs/usr/share/slitaz/fluxbox - cp $stuff/styles $fs/usr/share/fluxbox + cp -a $stuff/startup $fs/usr/share/slitaz/fluxbox + cp -a $stuff/styles $fs/usr/share/fluxbox # Overwrite - cp $stuff/menu $fs/usr/share/fluxbox - cp $stuff/init $fs/usr/share/fluxbox + cp -f $stuff/menu $fs/usr/share/fluxbox + cp -f $stuff/init $fs/usr/share/fluxbox } post_install() diff -r 044f7a53c852 -r e000ccc93a7b fluxbox/stuff/fluxbox-session --- a/fluxbox/stuff/fluxbox-session Wed Apr 25 00:40:43 2012 +0200 +++ b/fluxbox/stuff/fluxbox-session Wed Apr 25 01:26:49 2012 +0200 @@ -2,7 +2,7 @@ # # SliTaz GNU/Linux Fluxbox session script. This script let use Flux # like Openbox autostart and user dont have to call fluxbox into ther -# startup script. We also set some XDG variables. +# startup script. We also set some XDG variables. # fluxdir="$HOME/.fluxbox" @@ -14,6 +14,7 @@ # Make sure we have config files. if [ ! -x "$fluxdir/startup" ]; then + mkdir -p $fluxdir cp /usr/share/slitaz/fluxbox/startup $fluxdir chmod +x $fluxdir/startup fi