aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-01-06 15:49:59 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-17 09:03:25 +0700
commit6078a6163c125cdb9931967eb6c74752caadb44b (patch)
tree9024dbafd81446697f043d34761f44341486ea82
parent99169010ee521390d15c559baceaa49a306754b8 (diff)
games/digger: Support PRINT_PACKAGE_NAME.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/digger/digger.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/games/digger/digger.SlackBuild b/games/digger/digger.SlackBuild
index c10142044313..f8496d4c4b4c 100644
--- a/games/digger/digger.SlackBuild
+++ b/games/digger/digger.SlackBuild
@@ -39,6 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}