aboutsummaryrefslogtreecommitdiff
path: root/system/kitty/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-01-22 20:53:27 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-23 18:18:51 +0700
commitd183a7b3f6237264941fe34594208ccfd3d4b2bf (patch)
tree7e01185720b0f02a5354531eaf9724ceafd858ef /system/kitty/doinst.sh
parentd81cdb9449b024bb4bcc206820cdf655cedd174a (diff)
system/kitty: Added (fast, featureful, GPU-based terminal emulator)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/kitty/doinst.sh')
-rw-r--r--system/kitty/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/kitty/doinst.sh b/system/kitty/doinst.sh
new file mode 100644
index 0000000000000..3e5691a052b5b
--- /dev/null
+++ b/system/kitty/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