summaryrefslogtreecommitdiff
path: root/scripts/common-qt5.post
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/common-qt5.post')
-rw-r--r--scripts/common-qt5.post19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/common-qt5.post b/scripts/common-qt5.post
new file mode 100644
index 0000000..28be14a
--- /dev/null
+++ b/scripts/common-qt5.post
@@ -0,0 +1,19 @@
+#!/bin/sh
+echo "############### 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