summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author Heinz Wiesinger2021-07-04 15:59:54 +0200
committer Heinz Wiesinger2021-07-17 21:55:16 +0200
commitcb73454c50a7f311bf7bbb0733446d4bcb0c0894 (patch)
tree4dfde2f565417e40888a34a0b318c5fe4a218e58 /network
parentd6d7dcc7494356f26fb7dbf5020a0f8acc486f08 (diff)
downloadslackbuilds-cb73454c50a7f311bf7bbb0733446d4bcb0c0894.tar.gz
network/nagiosgraph: Fix support for PRINT_PACKAGE_NAME
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'network')
-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 6d5e2fb92a..02c320a83f 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