aboutsummaryrefslogtreecommitdiff
path: root/multimedia/openshot/doinst.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-21 15:31:55 -0400
committerB. Watson <yalhcru@gmail.com>2022-04-21 15:31:55 -0400
commit638a614b59e926ce142e24f58cda9480a1c1634b (patch)
treeee07cbacf5e81079395370f7ca4892b9baad7359 /multimedia/openshot/doinst.sh
parentf605ac666d1b34bbfd475a7410761fff5ab0a782 (diff)
multimedia/openshot: Fix doinst.sh, stop spamming /usr.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'multimedia/openshot/doinst.sh')
-rw-r--r--multimedia/openshot/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/multimedia/openshot/doinst.sh b/multimedia/openshot/doinst.sh
index 9a8ded3c60349..9424ce43ff572 100644
--- a/multimedia/openshot/doinst.sh
+++ b/multimedia/openshot/doinst.sh
@@ -5,3 +5,9 @@ fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi