multimedia/freetube: Fix doinst.sh.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-06-20 17:11:59 -04:00 committed by Willy Sudiarto Raharjo
parent 1759f88b99
commit bd826d4bc9
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 3 additions and 1 deletions

View File

@ -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