From 97f00f35b086bf1e1a03b9fc8e72444f77adf822 Mon Sep 17 00:00:00 2001 From: Aaditya Bagga Date: Thu, 27 Apr 2017 22:45:03 +0530 Subject: [PATCH] network/xinetd: Corrected SlackBuild. --- network/xinetd/xinetd.SlackBuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/network/xinetd/xinetd.SlackBuild b/network/xinetd/xinetd.SlackBuild index a459134b16..4d447a4de4 100644 --- a/network/xinetd/xinetd.SlackBuild +++ b/network/xinetd/xinetd.SlackBuild @@ -26,9 +26,12 @@ PRGNAM=xinetd VERSION=${VERSION:-2.3.15} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} +DL_PRGNAM=$PRGNAM-$PRGNAM +DL_VERSION=${DL_VERSION:-2-3-15} + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -61,9 +64,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $DL_PRGNAM-$DL_VERSION +tar xvf $CWD/$PRGNAM-$DL_VERSION.tar.gz || tar xvf $CWD/$DL_PRGNAM-$DL_VERSION.tar.gz +cd $DL_PRGNAM-$DL_VERSION chown -R root:root . find -L . \