summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/common-qt5.post17
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