diff options
author | Stéphane Desneux (sdesneux) <stephane.desneux@open.eurogiciel.org> | 2014-05-14 09:32:13 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2014-05-14 09:32:13 -0700 |
commit | 72789f004aee3e16d710c43f00dd2fe40e536659 (patch) | |
tree | 09c7c7b1dacbe8a03269c812beb5b5d55fb6a9b8 | |
parent | eb15844f20f1cdf78e1e51999df536b03e31c05f (diff) | |
parent | d4ee720eb3f4037580f2fdf80713730d0822a070 (diff) | |
download | meta-accepted/tizen_ivi.tar.gz meta-accepted/tizen_ivi.tar.bz2 meta-accepted/tizen_ivi.zip |
Merge "qt5: add launcher icons if files present" into tizensubmit/tizen/20140514.163811accepted/tizen/ivi/20140521.203243accepted/tizen/common/20140514.175357accepted/tizen_ivi
-rw-r--r-- | scripts/common-qt5.post | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/common-qt5.post b/scripts/common-qt5.post index 5122c67..8d17d24 100644 --- a/scripts/common-qt5.post +++ b/scripts/common-qt5.post @@ -1,2 +1,19 @@ +#!/bin/sh ############### common-qt5.post ################ +list=' +qt5-qtdeclarative-examples +qt5-cinematic-experience +' + +dst="/usr/share/applications/tizen/launcher.conf" + +if [ -w "$dst" ] ; then + for app in $list ; do + src="/usr/share/applications/$app.desktop" + + grep "$src" "$dst" \ + || { [ ! -r "$src" ] || echo "$src" >> "$dst" ; } + + done +fi |