summaryrefslogtreecommitdiff
path: root/games/angband
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-29 17:00:17 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:44 -0500
commitfc4f21fa6f4d86c6ddfa1797a0979a4742b05802 (patch)
tree98833010440f8c640640ed71684839ea5355bbf4 /games/angband
parent5a4dba05e2d0f4e1eb44ded18e96bb564d1417e6 (diff)
downloadslackbuilds-fc4f21fa6f4d86c6ddfa1797a0979a4742b05802.tar.gz
games/angband: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/angband')
-rw-r--r--games/angband/angband.SlackBuild4
-rw-r--r--games/angband/doinst.sh4
2 files changed, 5 insertions, 3 deletions
diff --git a/games/angband/angband.SlackBuild b/games/angband/angband.SlackBuild
index 5f1cb20cf0..3cba01d890 100644
--- a/games/angband/angband.SlackBuild
+++ b/games/angband/angband.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=angband
VERSION=v3.3.2
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -37,7 +37,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
diff --git a/games/angband/doinst.sh b/games/angband/doinst.sh
index 4da6d8736e..ae3c29f8ee 100644
--- a/games/angband/doinst.sh
+++ b/games/angband/doinst.sh
@@ -26,4 +26,6 @@ config etc/angband/edit/store.txt.new
config etc/angband/edit/terrain.txt.new
config etc/angband/edit/vault.txt.new
-
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi