Generate Environment file when booting
[profile/tv/meta-tv.git] / scripts / tv-qt5.post
1 #!/bin/sh
2 echo "############### tv-qt5.post ################"
3
4 list='
5 qt5-qtdeclarative-examples
6 qt5-cinematic-experience
7 '
8
9 dst="/usr/share/applications/tizen/launcher.conf"
10
11 if [ -w "$dst" ] ; then
12     for app in $list ; do
13         src="/usr/share/applications/$app.desktop"
14
15         grep "$src" "$dst" \
16             || { [ ! -r "$src" ] || echo "$src" >> "$dst" ; }
17
18     done
19 fi