tazwok rev 27
Dont creat pixmaps dir for each packages...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 06 00:36:56 2008 +0100 (2008-02-06) |
parents | f0821ee32fd3 |
children | 2bf96f342aa4 |
files | tazwok |
line diff
1.1 --- a/tazwok Tue Feb 05 23:23:58 2008 +0100 1.2 +++ b/tazwok Wed Feb 06 00:36:56 2008 +0100 1.3 @@ -304,13 +304,14 @@ 1.4 # Pixmaps. Some icons/images can be add trough genpkg_rules and 1.5 # generic copy can be disable with GENERIC_PIXMAPS="no" in pkg receipt. 1.6 if [ ! "$GENERIC_PIXMAPS" = "no" ]; then 1.7 - mkdir -p $fs/usr/share/pixmaps 1.8 if [ -d "$_pkg/usr/share/pixmaps" ]; then 1.9 + mkdir -p $fs/usr/share/pixmaps 1.10 cp -a $_pkg/usr/share/pixmaps/$PACKAGE.* \ 1.11 $fs/usr/share/pixmaps 2>/dev/null 1.12 fi 1.13 # Custom or home made PNG pixmap can be in stuff. 1.14 if [ -f "stuff/$PACKAGE.png" ]; then 1.15 + mkdir -p $fs/usr/share/pixmaps 1.16 cp -a stuff/$PACKAGE.png $fs/usr/share/pixmaps 1.17 fi 1.18 fi