diff options
Diffstat (limited to 'meta/packages/puzzles/puzzles_r7593.bb')
-rw-r--r-- | meta/packages/puzzles/puzzles_r7593.bb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/packages/puzzles/puzzles_r7593.bb b/meta/packages/puzzles/puzzles_r7593.bb index bcb19bae2..e58011619 100644 --- a/meta/packages/puzzles/puzzles_r7593.bb +++ b/meta/packages/puzzles/puzzles_r7593.bb @@ -1,6 +1,6 @@ DEPENDS = "gtk+" -PR = "r4" +PR = "r5" MOD_PV = "${@bb.data.getVar('PV',d,1)[1:]}" #SRC_URI = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.tar.gz" @@ -35,9 +35,7 @@ do_install () { for prog in *; do if [ -x $prog ]; then # Convert prog to Title Case - firstchar=${prog:0:1} - title=`echo "$firstchar" | tr a-z A-Z` - title="$title${prog:1}" + title=$(echo $prog | sed 's/\(^\| \)./\U&/g') echo "making ${D}/${datadir}/applications/$prog.desktop" cat <<STOP > ${D}/${datadir}/applications/$prog.desktop [Desktop Entry] |