wok-4.x view puzzles/stuff/desktopfiles.sh @ rev 11707

Up: slitaz-tools-boxes (4.5.1)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Feb 19 12:15:23 2012 +0100 (2012-02-19)
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