summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Desneux (sdesneux) <stephane.desneux@open.eurogiciel.org>2014-05-22 01:36:14 -0700
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2014-05-22 01:36:14 -0700
commit11b7dae18fab397417d60203982fb568988465f1 (patch)
treec86f0564ca35230859f6bdead7905fd6f18610db
parent30846a61d1e611cf52c1015b819755a1763c4e51 (diff)
parente4971b3dbf0691e08d79a399b8645b87ea9c81a1 (diff)
downloadmeta-11b7dae18fab397417d60203982fb568988465f1.tar.gz
meta-11b7dae18fab397417d60203982fb568988465f1.tar.bz2
meta-11b7dae18fab397417d60203982fb568988465f1.zip
Merge "wayland: Add installed apps to launcher" into tizen
-rw-r--r--scripts/common-wayland.post14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/common-wayland.post b/scripts/common-wayland.post
index 23f9cda..c855032 100644
--- a/scripts/common-wayland.post
+++ b/scripts/common-wayland.post
@@ -36,3 +36,17 @@ EOF
# clean weston target inside user session (installed by weston)
rm -f /usr/lib/systemd/user/weston.target
+
+#{ Add installed apps for tizen to launcher if not present
+dst="/usr/share/applications/tizen/launcher.conf"
+
+if [ -w "$dst" ] ; then
+ ls /usr/share/applications/tizen/*.desktop \
+ | while read src; do
+ grep "$src" "$dst" \
+ || { [ ! -r "$src" ] || echo "$src" >> "$dst" ; }
+
+ done
+fi
+
+#}