aboutsummaryrefslogtreecommitdiff
path: root/system/Solaar/doinst.sh
diff options
context:
space:
mode:
authorErich Ritz <erich.public@protonmail.com>2019-12-19 22:58:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-19 22:58:20 +0700
commit61d9c5d72714f5bfe1c3bdcb5778355273ec231e (patch)
tree3dab0bc30f1f12ad983821928e055802b9eab126 /system/Solaar/doinst.sh
parent7e124537fd886c14f022c0bd50f2082736f376b7 (diff)
system/Solaar: Added (Linux device manager for Logitech).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/Solaar/doinst.sh')
-rw-r--r--system/Solaar/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/Solaar/doinst.sh b/system/Solaar/doinst.sh
new file mode 100644
index 0000000000000..65c7e2eeb9aa5
--- /dev/null
+++ b/system/Solaar/doinst.sh
@@ -0,0 +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