wok diff puzzles/stuff/desktopfiles.sh @ rev 17563
syslinux/iso2exe: use iso size to compute md5sum, update README
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 07 15:54:50 2015 +0100 (2015-02-07) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/puzzles/stuff/desktopfiles.sh Sat Feb 07 15:54:50 2015 +0100 1.3 @@ -0,0 +1,9 @@ 1.4 +for i in ../puzzles-*/_pkg/usr/local/games/* 1.5 +do 1.6 + name=$(basename $i) 1.7 + cp games.desktop.mk $name.desktop 1.8 + sed -i -e "s/%%NAME%%/$name/" \ 1.9 + -e "s/%%EXEC%%/$name/" \ 1.10 + -e "s/%%ICONS%%/$name.png/" $name.desktop 1.11 + 1.12 +done