wok view puzzles/stuff/desktopfiles.sh @ rev 20233

Up Dropbear (2018.76)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 12:39:40 2018 +0100 (2018-03-05)
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