summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>2014-05-15 12:07:39 +0200
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>2014-05-15 12:11:51 +0200
commite4971b3dbf0691e08d79a399b8645b87ea9c81a1 (patch)
tree7681c16dfd4989591b1a0d0513d235523826c393
parent72789f004aee3e16d710c43f00dd2fe40e536659 (diff)
downloadmeta-e4971b3dbf0691e08d79a399b8645b87ea9c81a1.tar.gz
meta-e4971b3dbf0691e08d79a399b8645b87ea9c81a1.tar.bz2
meta-e4971b3dbf0691e08d79a399b8645b87ea9c81a1.zip
wayland: Add installed apps to launcher
Note: the could be also done at runtime but it's better to be on live images too. Change-Id: I08eda268e9c48d5571aa4ff092c4392810b0ac80 Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
-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
+
+#}