aboutsummaryrefslogtreecommitdiff
path: root/system/ioninja/doinst.sh
diff options
context:
space:
mode:
authorFernando Lopez Jr <fernando.lopezjr@gmail.com>2018-02-16 15:43:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-02-17 07:42:47 +0700
commitb73e37b1c4de98c20e966a3198877afc0364e4b7 (patch)
tree2f51d31dd7770ddabc2f8b13f9f63f4f30dd116c /system/ioninja/doinst.sh
parentedaa3c7f18544a15c8fb64403099096fb2bfe03a (diff)
system/ioninja: Added (terminal emulator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ioninja/doinst.sh')
-rw-r--r--system/ioninja/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/ioninja/doinst.sh b/system/ioninja/doinst.sh
new file mode 100644
index 0000000000000..9b51b160f673f
--- /dev/null
+++ b/system/ioninja/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/gnome/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/gnome >/dev/null 2>&1
+ fi
+fi