aboutsummaryrefslogtreecommitdiff
path: root/games/SLADE/doinst.sh
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2016-08-29 23:12:17 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-03 07:48:57 +0700
commit12d145876be298d818a38b0e54c9aa902eee90fb (patch)
treec76141cabfe7e9e523c1cdb6ae7b1cc518552af2 /games/SLADE/doinst.sh
parent5b9fb5f3672e0490371445890a6c43565a0beb4e (diff)
games/SLADE: Updated for version 3.1.1.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/SLADE/doinst.sh')
-rw-r--r--games/SLADE/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/games/SLADE/doinst.sh b/games/SLADE/doinst.sh
new file mode 100644
index 000000000000..3e5691a052b5
--- /dev/null
+++ b/games/SLADE/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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi