tazwok rev 32

They can be multiple desktop files in stuff/
author Christophe Lincoln <pankso@slitaz.org>
date Thu Feb 07 11:39:52 2008 +0100 (2008-02-07)
parents ea4c836f2a68
children 0338f2ec63d2
files tazwok
line diff
     1.1 --- a/tazwok	Wed Feb 06 17:12:24 2008 +0100
     1.2 +++ b/tazwok	Thu Feb 07 11:39:52 2008 +0100
     1.3 @@ -322,10 +322,11 @@
     1.4  	if [ -d "$_pkg/usr/share/applications" ]; then
     1.5  		cp -a $_pkg/usr/share/applications $fs/usr/share
     1.6  	fi
     1.7 -	# Home made desktop file can be in stuff.
     1.8 +	# Home made desktop file(s) can be in stuff.
     1.9  	if [ -f "stuff/$PACKAGE.desktop" ]; then
    1.10  		mkdir -p $fs/usr/share/applications
    1.11  		cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications
    1.12 +		cp -a stuff/$PACKAGE-*.desktop $fs/usr/share/applications
    1.13  	fi
    1.14  }
    1.15