summaryrefslogtreecommitdiff
path: root/network/vpnc
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2017-01-08 17:56:23 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-01-09 20:17:34 +0000
commit5fd12f5b43d04564d4f850475201b35a173c0058 (patch)
tree0bd25f628acb43abec5322eaad414be917da66af /network/vpnc
parent14fd613bd0e0d99019d183e58e1d6240020ceac9 (diff)
downloadslackbuilds-5fd12f5b43d04564d4f850475201b35a173c0058.tar.gz
network/vpnc: Fixed a typo in the shell script.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Diffstat (limited to 'network/vpnc')
-rw-r--r--network/vpnc/vpnc.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/vpnc/vpnc.SlackBuild b/network/vpnc/vpnc.SlackBuild
index b6eaa76d79..e99eeb10dc 100644
--- a/network/vpnc/vpnc.SlackBuild
+++ b/network/vpnc/vpnc.SlackBuild
@@ -36,7 +36,7 @@
PRGNAM=vpnc
VERSION=${VERSION:-r550}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -99,7 +99,7 @@ mv $PKG/etc/vpnc/default.conf $PKG/etc/vpnc/default.conf.new
mv $PKG/etc/vpnc/vpnc-script $PKG/etc/vpnc/vpnc-script.new
# Patch vpnc-script because it finds /sbin/netconfig and it believes to be on Suse
sed -i \
- '/-x \/sbin\/netconfig/c\elif [ -x /sbin/netconfig ] && [ ! -f /etc/slackware-version]; then # tool on Suse after 11.1, do not use on Slackware' \
+ '/-x \/sbin\/netconfig/c\elif [ -x /sbin/netconfig ] && [ ! -f /etc/slackware-version ]; then # tool on Suse after 11.1, do not use on Slackware' \
$PKG/etc/vpnc/vpnc-script.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION