aboutsummaryrefslogtreecommitdiff
path: root/network/openvswitch/openvswitch.SlackBuild
diff options
context:
space:
mode:
authorChristopher Walker <kris240376@gmail.com>2015-05-12 16:23:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-12 16:23:27 +0700
commit939ae1a9e6024bfbe62acaaab52be1a4342dc9d8 (patch)
treef2da92806e43c95f54b817fea18e62dedc1e1ff1 /network/openvswitch/openvswitch.SlackBuild
parentd23b37874fa7e72ec53e7bccb22bb153733d389c (diff)
network/openvswitch: Update scripts.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/openvswitch/openvswitch.SlackBuild')
-rw-r--r--network/openvswitch/openvswitch.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/openvswitch/openvswitch.SlackBuild b/network/openvswitch/openvswitch.SlackBuild
index 61f8d33bf8ea..18229adba0b9 100644
--- a/network/openvswitch/openvswitch.SlackBuild
+++ b/network/openvswitch/openvswitch.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=openvswitch
VERSION=${VERSION:-2.3.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-$(uname -r)}
@@ -103,7 +103,7 @@ if [ ! -f /lib/modules/$(uname -r)/kernel/net/openvswitch/openvswitch.ko ]; then
$PKG/lib/modules/${KERNEL}/kernel/extra/openvswitch
fi
-mkdir -p $PKG/etc/openvswitch $PKG/etc/rc.d $PKG/var/run/openvswitch
+mkdir -p $PKG/var/lib/openvswitch $PKG/etc/rc.d $PKG/var/run/openvswitch
sed -e "s,@DOCDIR@,/usr/doc/$PRGNAM-$VERSION,g" $CWD/rc.openvswitch \
> $PKG/etc/rc.d/rc.openvswitch.new
chmod 0755 $PKG/etc/rc.d/rc.openvswitch.new