aboutsummaryrefslogtreecommitdiff
path: root/graphics/screengrab/doinst.sh
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-12-15 18:31:30 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-17 09:13:55 +0700
commitb0f64cd407dbf58bf17c946ffcf1e0f1d4777d71 (patch)
treee9359ea24c76345c5f7493e4d2316759cc68b3d5 /graphics/screengrab/doinst.sh
parent8b157738076dbeddcb562f2891c0c7248871426c (diff)
graphics/screengrab: Updated for version 2.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/screengrab/doinst.sh')
-rw-r--r--graphics/screengrab/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/screengrab/doinst.sh b/graphics/screengrab/doinst.sh
index 5fb28930db0b9..65c7e2eeb9aa5 100644
--- a/graphics/screengrab/doinst.sh
+++ b/graphics/screengrab/doinst.sh
@@ -1,3 +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