summaryrefslogtreecommitdiff
path: root/network/netcat-openbsd/netcat-openbsd.SlackBuild
diff options
context:
space:
mode:
authorSlax-Dude <jmfl@sapo.pt>2014-07-22 13:00:16 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-03 16:35:38 +0700
commit1f447273918aa3daf29f619b45f64b8b0e47b8a4 (patch)
treeaf8e4c234a5eb56d28197ad0165e01995d9b6f17 /network/netcat-openbsd/netcat-openbsd.SlackBuild
parented240a7ab563b812a96d823244fb023ce01a61a3 (diff)
downloadslackbuilds-1f447273918aa3daf29f619b45f64b8b0e47b8a4.tar.gz
network/netcat-openbsd: Fixed checking for nc presence.
Changed maintainer's email address Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/netcat-openbsd/netcat-openbsd.SlackBuild')
-rw-r--r--network/netcat-openbsd/netcat-openbsd.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/network/netcat-openbsd/netcat-openbsd.SlackBuild b/network/netcat-openbsd/netcat-openbsd.SlackBuild
index 9c88aa0d32..c807a163db 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