tazwok rev 33
Fix pixmaps copy again... and agin
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Feb 07 13:52:06 2008 +0100 (2008-02-07) |
parents | 9fc3d6b2ec42 |
children | 8ca852e10634 |
files | tazwok |
line diff
1.1 --- a/tazwok Thu Feb 07 11:39:52 2008 +0100 1.2 +++ b/tazwok Thu Feb 07 13:52:06 2008 +0100 1.3 @@ -8,7 +8,7 @@ 1.4 # 1.5 # (C) 2007-2008 SliTaz - GNU General Public License. 1.6 # 1.7 -VERSION=1.3.1 1.8 +VERSION=1.3.2 1.9 1.10 #################### 1.11 # Tazwok variables # 1.12 @@ -323,10 +323,11 @@ 1.13 cp -a $_pkg/usr/share/applications $fs/usr/share 1.14 fi 1.15 # Home made desktop file(s) can be in stuff. 1.16 - if [ -f "stuff/$PACKAGE.desktop" ]; then 1.17 - mkdir -p $fs/usr/share/applications 1.18 - cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications 1.19 - cp -a stuff/$PACKAGE-*.desktop $fs/usr/share/applications 1.20 + if [ -d "stuff" ]; then 1.21 + if ls stuff/*.desktop >/dev/null; then 1.22 + mkdir -p $fs/usr/share/applications 1.23 + cp -a stuff/*.desktop $fs/usr/share/applications 1.24 + fi 1.25 fi 1.26 } 1.27