summaryrefslogtreecommitdiff
path: root/libraries/gtkdatabox/doinst.sh
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-22 15:13:47 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-25 12:11:25 +0700
commitd5d6c9dc9db93ae9bb68d6357e8d7bb32c458367 (patch)
treebaad87e67c0f8480078709f54a0d8eef130c3f68 /libraries/gtkdatabox/doinst.sh
parentf1515ccc30c98357af8de003c40d65c7ce605860 (diff)
downloadslackbuilds-d5d6c9dc9db93ae9bb68d6357e8d7bb32c458367.tar.gz
libraries/gtkdatabox: Updated icon cache.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/gtkdatabox/doinst.sh')
-rw-r--r--libraries/gtkdatabox/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/libraries/gtkdatabox/doinst.sh b/libraries/gtkdatabox/doinst.sh
new file mode 100644
index 0000000000..4110f5514d
--- /dev/null
+++ b/libraries/gtkdatabox/doinst.sh
@@ -0,0 +1,5 @@
+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