games/angband: Fixed (Handle desktop file)

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2012-09-29 17:00:17 -04:00 committed by Robby Workman
parent 5a4dba05e2
commit fc4f21fa6f
2 changed files with 5 additions and 3 deletions

View File

@ -7,7 +7,7 @@
PRGNAM=angband PRGNAM=angband
VERSION=v3.3.2 VERSION=v3.3.2
BUILD=${BUILD:-2} BUILD=${BUILD:-3}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
@ -37,7 +37,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e # Exit on most errors set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT

View File

@ -26,4 +26,6 @@ config etc/angband/edit/store.txt.new
config etc/angband/edit/terrain.txt.new config etc/angband/edit/terrain.txt.new
config etc/angband/edit/vault.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