wok-4.x diff lxpanel/receipt @ rev 468
Dont remove lxpanel symlink with post_install
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 20 22:30:30 2008 +0100 (2008-03-20) |
parents | 91f7f2145552 |
children | 4b565515822c |
line diff
1.1 --- a/lxpanel/receipt Thu Mar 20 14:33:19 2008 +0100 1.2 +++ b/lxpanel/receipt Thu Mar 20 22:30:30 2008 +0100 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 -}