aboutsummaryrefslogtreecommitdiff
path: root/academic/easy_spice/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2017-05-22 09:56:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-27 07:30:42 +0700
commitdcc7ebdb46660a188f9e7300317f0ba0771b48cb (patch)
treee294745248ade79b7812549aed5ed9ab3c29df9c /academic/easy_spice/doinst.sh
parent67009d3f213da2a9001f6f8d2f1e090ba8bef3bc (diff)
academic/easy_spice: Added (A Simple Frontend for SPICE).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/easy_spice/doinst.sh')
-rw-r--r--academic/easy_spice/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/easy_spice/doinst.sh b/academic/easy_spice/doinst.sh
new file mode 100644
index 0000000000000..65c7e2eeb9aa5
--- /dev/null
+++ b/academic/easy_spice/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