diff options
author | B. Watson <urchlay@slackware.uk> | 2023-02-14 01:59:56 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-18 10:07:04 +0700 |
commit | 4a255d2c721dbab36bc1b5ff9303e461cf1eb2e3 (patch) | |
tree | 7c1e0373c399562bd3fe5d841c5f985e75500168 /graphics | |
parent | cb049646cf20f94d996c9868d1d5ffd8cbd30d8f (diff) |
graphics/pdf2png: Fix PRINT_PACKAGE_NAME.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/pdf2png/pdf2png.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/pdf2png/pdf2png.SlackBuild b/graphics/pdf2png/pdf2png.SlackBuild index b620c82f73262..57350904c4bdf 100644 --- a/graphics/pdf2png/pdf2png.SlackBuild +++ b/graphics/pdf2png/pdf2png.SlackBuild @@ -30,17 +30,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 +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + set -e rm -rf $PKG |