summaryrefslogtreecommitdiff
path: root/office/xreader/doinst.sh
diff options
context:
space:
mode:
authorRodrigo Gimenez <rodrigog83[at]gmail[dot]com>2017-03-09 01:08:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-11 07:03:52 +0700
commit606c69bd3e4e243508e77199cffafa25c9227e7d (patch)
treeab1749024139f95dfae942398fef531a9b66d7af /office/xreader/doinst.sh
parentfe4a4836addd1320a5a913ba910ea003e0a50d70 (diff)
downloadslackbuilds-606c69bd3e4e243508e77199cffafa25c9227e7d.tar.gz
office/xreader: Added (A generic Document Reader).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/xreader/doinst.sh')
-rw-r--r--office/xreader/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/office/xreader/doinst.sh b/office/xreader/doinst.sh
new file mode 100644
index 0000000000..115e15274b
--- /dev/null
+++ b/office/xreader/doinst.sh
@@ -0,0 +1,9 @@
+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
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi