wok-stable diff lxpanel/receipt @ rev 569

Up: libxml2 (2.6.32)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 14 15:06:52 2008 +0200 (2008-04-14)
parents 91f7f2145552
children 4b565515822c
line diff
     1.1 --- a/lxpanel/receipt	Thu Mar 20 14:33:19 2008 +0100
     1.2 +++ b/lxpanel/receipt	Mon Apr 14 15:06:52 2008 +0200
     1.3 @@ -34,20 +34,17 @@
     1.4      cp -a $_pkg/usr/bin $fs/usr
     1.5      cp -a $_pkg/usr/lib $fs/usr
     1.6      cp -a $_pkg/usr/share/lxpanel $fs/usr/share
     1.7 +    
     1.8      # Remove a few "heavy" an unseful images
     1.9      rm $fs/usr/share/lxpanel/images/*.svg
    1.10 -    # Default config
    1.11 -    mv $fs/usr/share/lxpanel/profile/default \
    1.12 -    	$fs/usr/share/lxpanel/profile/original
    1.13 -    cp -a stuff/default $fs/usr/share/lxpanel/profile/
    1.14 +    
    1.15      # Move profile to /etc/lxpanel (/usr maybe read-only)
    1.16      mkdir $fs/etc
    1.17      mv -f $fs/usr/share/lxpanel/profile $fs/etc/lxpanel
    1.18      ln -s /etc/lxpanel $fs/usr/share/lxpanel/profile
    1.19 +    
    1.20 +    # Default config
    1.21 +    mv $fs/etc/lxpanel/default $fs/etc/lxpanel/original
    1.22 +    cp -a stuff/default $fs/etc/lxpanel
    1.23  }
    1.24  
    1.25 -# Remove old config if upgrade.
    1.26 -pre_install()
    1.27 -{
    1.28 -	rm -rf /usr/share/lxpanel/profile
    1.29 -}