summaryrefslogtreecommitdiffstats
path: root/system/rxvt/doinst.sh
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2023-06-17 08:47:57 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-17 08:47:57 +0700
commitbc3ea99a83dfa8428fb71cbe9e162280cf84acac (patch)
treef3476d762ee76b35a148e8d85eb28a03e29faa32 /system/rxvt/doinst.sh
parente37cd2dbdf12f697c60bdaba4eb6a378a27b43b3 (diff)
downloadslackbuilds-bc3ea99a83dfa8428fb71cbe9e162280cf84acac.tar.gz
slackbuilds-bc3ea99a83dfa8428fb71cbe9e162280cf84acac.tar.xz
system/rxvt: Added (terminal emulator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/rxvt/doinst.sh')
-rw-r--r--system/rxvt/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/rxvt/doinst.sh b/system/rxvt/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/system/rxvt/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi