mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/netcat-openbsd: Fixed checking for nc presence.
Changed maintainer's email address Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
ed240a7ab5
commit
1f44727391
2 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for netcat-openbsd
|
||||
#
|
||||
# Copyright 2010 Slax-Dude <jleal {at} fundilusa [dot] com>
|
||||
# Copyright 2010, 2014 Slax-Dude <jmfl {at} sapo [dot] pt>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -24,7 +24,7 @@
|
|||
|
||||
PRGNAM=netcat-openbsd
|
||||
VERSION=${VERSION:-1.105}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
DEBVER=7
|
||||
|
@ -56,8 +56,8 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
# Exit if netcat is in the system
|
||||
if [ -x /usr/bin/nc ]; then
|
||||
# Exit if netcat is in the system, but not if netcat-openbsd is there (thx ponce)
|
||||
if [ -x /usr/bin/nc ] && [ ! -h /usr/bin/nc ]; then
|
||||
echo " You must remove nc before installing this!"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
|
|||
MD5SUM_x86_64=""
|
||||
REQUIRES="%README% libbsd"
|
||||
MAINTAINER="Slax-Dude"
|
||||
EMAIL="jleal@fundilusa.com"
|
||||
EMAIL="jmfl@sapo.pt"
|
||||
|
|
Loading…
Reference in a new issue