network/xinetd: Corrected SlackBuild.

This commit is contained in:
Aaditya Bagga 2017-04-27 22:45:03 +05:30 committed by Willy Sudiarto Raharjo
parent f3e52f808e
commit 97f00f35b0
1 changed files with 7 additions and 4 deletions

View File

@ -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 . \