aboutsummaryrefslogtreecommitdiff
path: root/graphics/nsxiv/doinst.sh
diff options
context:
space:
mode:
authorEugene Makarihkin <eugene@makarikhin.info>2022-01-04 23:54:02 +0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-13 08:58:42 +0700
commit0930e46ef1866c71f7c4bb2cfafdc8c6f52b6457 (patch)
tree72488b9a7540d7142301480bcd64cd4560e7d226 /graphics/nsxiv/doinst.sh
parent6e6861c938be8f54fe4e8cbcd009a0a1db5a1093 (diff)
graphics/nsxiv: Added (Neo Simple X Image Viewer).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/nsxiv/doinst.sh')
-rw-r--r--graphics/nsxiv/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/nsxiv/doinst.sh b/graphics/nsxiv/doinst.sh
new file mode 100644
index 0000000000000..aea0f894eb32b
--- /dev/null
+++ b/graphics/nsxiv/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi