aboutsummaryrefslogtreecommitdiff
path: root/office/pdfchain/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-06-08 08:24:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-12 06:51:43 +0700
commitfe9c17de9b919425876421f9964cd29fd0d060be (patch)
tree81d2835fb890d2fd93e85e114e3d1dc4df48f506 /office/pdfchain/doinst.sh
parent6e228d6806f07ae11017610b392ebfa65fda772f (diff)
office/pdfchain: Added (A GUI for PDF Tool Kit).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/pdfchain/doinst.sh')
-rw-r--r--office/pdfchain/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/office/pdfchain/doinst.sh b/office/pdfchain/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/office/pdfchain/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/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi