aboutsummaryrefslogtreecommitdiff
path: root/network/nagiosgraph
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-04 15:59:54 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-17 21:55:16 +0200
commitcb73454c50a7f311bf7bbb0733446d4bcb0c0894 (patch)
tree4dfde2f565417e40888a34a0b318c5fe4a218e58 /network/nagiosgraph
parentd6d7dcc7494356f26fb7dbf5020a0f8acc486f08 (diff)
network/nagiosgraph: Fix support for PRINT_PACKAGE_NAME
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'network/nagiosgraph')
-rw-r--r--network/nagiosgraph/nagiosgraph.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/network/nagiosgraph/nagiosgraph.SlackBuild b/network/nagiosgraph/nagiosgraph.SlackBuild
index 6d5e2fb92a56b..02c320a83f531 100644
--- a/network/nagiosgraph/nagiosgraph.SlackBuild
+++ b/network/nagiosgraph/nagiosgraph.SlackBuild
@@ -30,6 +30,8 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
@@ -99,4 +101,4 @@ 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-noarch-$BUILD$TAG.$PKGTYPE
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE