aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-06-20 17:11:59 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-23 07:48:07 +0700
commitbd826d4bc9f70a9fb17414b40aa0163a7eabe168 (patch)
tree98a492fd575cfc89006c88c454750fac55d3883d /multimedia
parent1759f88b9917b7fc4684caf3f52b84d2c043eebd (diff)
multimedia/freetube: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/freetube/doinst.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/freetube/doinst.sh b/multimedia/freetube/doinst.sh
index ea6e67c7b9116..9169c83208a86 100644
--- a/multimedia/freetube/doinst.sh
+++ b/multimedia/freetube/doinst.sh
@@ -6,6 +6,8 @@ if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
+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