summaryrefslogtreecommitdiffstats
path: root/system/CPU-X/doinst.sh
diff options
context:
space:
mode:
author Cristiano Urban2019-09-28 02:29:26 +0200
committer Willy Sudiarto Raharjo2019-09-28 02:29:44 +0200
commit1c10bfc062809f400b4b4cb8e3baaaf68f766499 (patch)
tree07df2f2a1aae4e4c160669b74f27ce5b6b6ddadc /system/CPU-X/doinst.sh
parentf42f3c11deab9368d267892ca7fb3fd53fb96b33 (diff)
downloadslackbuilds-1c10bfc062809f400b4b4cb8e3baaaf68f766499.tar.gz
system/CPU-X: Added (System information tool).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/CPU-X/doinst.sh')
-rw-r--r--system/CPU-X/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/CPU-X/doinst.sh b/system/CPU-X/doinst.sh
new file mode 100644
index 0000000000..a5749a8f36
--- /dev/null
+++ b/system/CPU-X/doinst.sh
@@ -0,0 +1,10 @@
+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
+