From 0815ce41d31dd5b7d63db5e4df1356d13416d4eb Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 26 Apr 2022 01:12:47 -0400 Subject: system/razerCommander: Fix doinst.sh. Signed-off-by: B. Watson --- system/razerCommander/doinst.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'system/razerCommander/doinst.sh') diff --git a/system/razerCommander/doinst.sh b/system/razerCommander/doinst.sh index 140e332222..5934a15ab1 100644 --- a/system/razerCommander/doinst.sh +++ b/system/razerCommander/doinst.sh @@ -1,3 +1,9 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications 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 -- cgit v1.2.3