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

poptop: add plugin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 13 17:27:08 2015 +0200 (2015-06-13)
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