wok-6.x view puzzles/stuff/desktopfiles.sh @ rev 6101

uclibc-*: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 31 22:19:24 2010 +0200 (2010-08-31)
parents
children
line source
1 for i in ../puzzles-*/_pkg/usr/local/games/*
2 do
3 name=$(basename $i)
4 cp games.desktop.mk $name.desktop
5 sed -i -e "s/%%NAME%%/$name/" \
6 -e "s/%%EXEC%%/$name/" \
7 -e "s/%%ICONS%%/$name.png/" $name.desktop
9 done