diff options
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 |
commit | 4d54b6821fbe0ee2d610340f8619412ec377500f (patch) | |
tree | 4eb82a302f63dfae8110a9194be8822f1c0defe1 /system/btop | |
parent | 10e60f4cfdde59fd62bb7a8c3550f067b852f786 (diff) |
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.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/system/btop/doinst.sh b/system/btop/doinst.sh new file mode 100644 index 0000000000000..3e5691a052b5b --- /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 |