summaryrefslogtreecommitdiff
path: root/graphics/yacreader/doinst.sh
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2017-01-14 06:24:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-14 06:24:15 +0700
commit643bb42ebdee04e0080e7d21a5c2c3e6ba255154 (patch)
tree50b62681d0d0f86e585235a601432a18805e426f /graphics/yacreader/doinst.sh
parent2abb7a234e0558dddc7134b6e4eaced0bd72c5aa (diff)
downloadslackbuilds-643bb42ebdee04e0080e7d21a5c2c3e6ba255154.tar.gz
graphics/yacreader: Added (comic book reader).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/yacreader/doinst.sh')
-rw-r--r--graphics/yacreader/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/yacreader/doinst.sh b/graphics/yacreader/doinst.sh
new file mode 100644
index 0000000000..9424ce43ff
--- /dev/null
+++ b/graphics/yacreader/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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