# HG changeset patch # User Christophe Lincoln # Date 1202388726 -3600 # Node ID 0338f2ec63d270d60eceb0465ba4e5055e64c24b # Parent 9fc3d6b2ec42ac1725f08375906bf8efe76dad6f Fix pixmaps copy again... and agin diff -r 9fc3d6b2ec42 -r 0338f2ec63d2 tazwok --- a/tazwok Thu Feb 07 11:39:52 2008 +0100 +++ b/tazwok Thu Feb 07 13:52:06 2008 +0100 @@ -8,7 +8,7 @@ # # (C) 2007-2008 SliTaz - GNU General Public License. # -VERSION=1.3.1 +VERSION=1.3.2 #################### # Tazwok variables # @@ -323,10 +323,11 @@ cp -a $_pkg/usr/share/applications $fs/usr/share fi # Home made desktop file(s) can be in stuff. - if [ -f "stuff/$PACKAGE.desktop" ]; then - mkdir -p $fs/usr/share/applications - cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications - cp -a stuff/$PACKAGE-*.desktop $fs/usr/share/applications + if [ -d "stuff" ]; then + if ls stuff/*.desktop >/dev/null; then + mkdir -p $fs/usr/share/applications + cp -a stuff/*.desktop $fs/usr/share/applications + fi fi }