aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gmtp/doinst.sh
diff options
context:
space:
mode:
authorThorn Inurcide <thorn-inurcide@hotmail.com>2014-04-16 07:17:14 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-23 07:51:28 +0700
commit7c81db22dc44177a42575bb24882bc122421403c (patch)
tree06864061217fc5025c644bcde9f8eb9fb0a86a65 /multimedia/gmtp/doinst.sh
parent17f9841515925954df9a486f04baa79daa0baa97 (diff)
multimedia/gmtp: Added (A basic MTP client).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/gmtp/doinst.sh')
-rw-r--r--multimedia/gmtp/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/multimedia/gmtp/doinst.sh b/multimedia/gmtp/doinst.sh
new file mode 100644
index 0000000000000..6fa145a19fb0a
--- /dev/null
+++ b/multimedia/gmtp/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi