diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-29 17:33:04 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-29 17:17:45 -0500 |
commit | eb85baa6f2f91768651577d766ab44319c53bde6 (patch) | |
tree | f33bcba4b049d3a170e9470ba9d890f4e22edee8 /games/ho1 | |
parent | 42226b242efb657a9bed8f271f8ae0d18b05ab36 (diff) |
games/ho1: Fixed (Handle desktop file)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/ho1')
-rw-r--r-- | games/ho1/doinst.sh | 3 | ||||
-rw-r--r-- | games/ho1/ho1.SlackBuild | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/games/ho1/doinst.sh b/games/ho1/doinst.sh new file mode 100644 index 0000000000000..5fb28930db0b9 --- /dev/null +++ b/games/ho1/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi diff --git a/games/ho1/ho1.SlackBuild b/games/ho1/ho1.SlackBuild index 1586015948e7b..a45466ff4ec8f 100644 --- a/games/ho1/ho1.SlackBuild +++ b/games/ho1/ho1.SlackBuild @@ -8,7 +8,7 @@ PRGNAM=ho1 VERSION=${VERSION:-1.430} VERSIONSRC=${VERSIONSRC:-1430} EXTRAVERSION=${EXTRAVERSION:-r894} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} ARCH=noarch # Java @@ -18,7 +18,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -42,6 +42,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |