diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-29 17:00:17 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-29 17:17:44 -0500 |
commit | fc4f21fa6f4d86c6ddfa1797a0979a4742b05802 (patch) | |
tree | 98833010440f8c640640ed71684839ea5355bbf4 | |
parent | 5a4dba05e2d0f4e1eb44ded18e96bb564d1417e6 (diff) |
games/angband: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r-- | games/angband/angband.SlackBuild | 4 | ||||
-rw-r--r-- | games/angband/doinst.sh | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/games/angband/angband.SlackBuild b/games/angband/angband.SlackBuild index 5f1cb20cf00da..3cba01d890af8 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 4da6d8736e821..ae3c29f8ee185 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 |