summaryrefslogtreecommitdiffstats
path: root/system/btop
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2023-02-11 01:04:42 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-18 10:06:52 +0700
commit4d54b6821fbe0ee2d610340f8619412ec377500f (patch)
tree4eb82a302f63dfae8110a9194be8822f1c0defe1 /system/btop
parent10e60f4cfdde59fd62bb7a8c3550f067b852f786 (diff)
downloadslackbuilds-4d54b6821fbe0ee2d610340f8619412ec377500f.tar.gz
slackbuilds-4d54b6821fbe0ee2d610340f8619412ec377500f.tar.xz
system/btop: Add missing doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/btop')
-rw-r--r--system/btop/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/btop/doinst.sh b/system/btop/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/system/btop/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