summaryrefslogtreecommitdiff
path: root/network/xinetd
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2017-04-27 22:45:03 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-28 20:41:57 +0700
commit97f00f35b086bf1e1a03b9fc8e72444f77adf822 (patch)
treeb73828b4fd9e475aa3adebb032d3857e7f5b11ef /network/xinetd
parentf3e52f808eba084b78339e5a449161f8037661de (diff)
downloadslackbuilds-97f00f35b086bf1e1a03b9fc8e72444f77adf822.tar.gz
network/xinetd: Corrected SlackBuild.
Diffstat (limited to 'network/xinetd')
-rw-r--r--network/xinetd/xinetd.SlackBuild11
1 files 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 . \