wok-next view puzzles/stuff/desktopfiles.sh @ rev 15795

Up slitaz-tools (5.5.1)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 19 14:21:08 2014 +0100 (2014-01-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