diff options
Diffstat (limited to 'games')
-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 |