aboutsummaryrefslogtreecommitdiff
path: root/office/texlive-docs
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-02-14 02:51:35 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-18 10:07:10 +0700
commit4544fe60ef826b253d5d421468b588a57565b48f (patch)
tree10e886e6669a3cc65f1bbca2bee79bedba371f6b /office/texlive-docs
parent41878053fe3341762d11fe9f460eb1ae9e5b0951 (diff)
office/texlive-docs: Fix PRINT_PACKAGE_NAME.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/texlive-docs')
-rw-r--r--office/texlive-docs/texlive-docs.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/office/texlive-docs/texlive-docs.SlackBuild b/office/texlive-docs/texlive-docs.SlackBuild
index 06e41988085e..fadb3d55b58f 100644
--- a/office/texlive-docs/texlive-docs.SlackBuild
+++ b/office/texlive-docs/texlive-docs.SlackBuild
@@ -33,17 +33,17 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-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}
ARCH=noarch
TEXMFROOT=/usr/share
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
set -e
rm -rf $PKG