summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Slax-Dude <jmfl@sapo.pt>2014-07-22 11:00:16 (GMT)
committer Matteo Bernardini <ponce@slackbuilds.org>2014-07-22 11:00:16 (GMT)
commit36a29020454f919836aac8c7dfa0780ebb43ec6b (patch)
tree8babe1f5ccdb1c939380e2d4bfb1de35d461a449
parente364a50744bb7c13502452cbeda6e809ae69700c (diff)
downloadslackbuilds-ponce.tar.gz
slackbuilds-ponce.tar.xz
network/netcat-openbsd: Fixed checking for nc presence.ponce
Changed maintainer's email address Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--network/netcat-openbsd/netcat-openbsd.SlackBuild8
-rw-r--r--network/netcat-openbsd/netcat-openbsd.info2
2 files changed, 5 insertions, 5 deletions
diff --git a/network/netcat-openbsd/netcat-openbsd.SlackBuild b/network/netcat-openbsd/netcat-openbsd.SlackBuild
index 9c88aa0..c807a16 100644
--- a/network/netcat-openbsd/netcat-openbsd.SlackBuild
+++ b/network/netcat-openbsd/netcat-openbsd.SlackBuild
@@ -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
diff --git a/network/netcat-openbsd/netcat-openbsd.info b/network/netcat-openbsd/netcat-openbsd.info
index e24baec..dc9b850 100644
--- a/network/netcat-openbsd/netcat-openbsd.info
+++ b/network/netcat-openbsd/netcat-openbsd.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="%README% libbsd"
MAINTAINER="Slax-Dude"
-EMAIL="jleal@fundilusa.com"
+EMAIL="jmfl@sapo.pt"