aboutsummaryrefslogtreecommitdiff
path: root/network/r8168
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2016-12-27 21:05:08 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-12-30 23:30:09 +0000
commit4d95215bac7672e0c5b780cb8da263adb4a281db (patch)
treeb01068eeb2bf657a20255049b8359c8512bc2624 /network/r8168
parente635054622c675b0132abc4246037fbd6e37f571 (diff)
network/r8168: Fixed SlackBuild.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/r8168')
-rw-r--r--network/r8168/r8168.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/r8168/r8168.SlackBuild b/network/r8168/r8168.SlackBuild
index 1db7f31a432a4..c85f2cced3bbb 100644
--- a/network/r8168/r8168.SlackBuild
+++ b/network/r8168/r8168.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=r8168
VERSION=${VERSION:-8.043.01}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -41,7 +41,7 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
KERNEL=${KERNEL:-$(uname -r)}
-PKGVER=${VERSION}_$KERNEL
+PKGVER=$(printf %s ${VERSION}_$KERNEL | tr - _)
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
@@ -81,7 +81,7 @@ install -Dm0644 src/$PRGNAM.ko \
$PKG/lib/modules/$KERNEL/kernel/drivers/net/ethernet/realtek/$PRGNAM.ko
mkdir -p $PKG/etc/modprobe.d
-echo "blacklist r8169" > $PKG/etc/modprobe.d/r8169_blacklist.conf.new
+echo 'blacklist r8169' > $PKG/etc/modprobe.d/r8169_blacklist.conf.new
mkdir -p $PKG/usr/doc/$PRGNAM-$PKGVER
cp -a README $PKG/usr/doc/$PRGNAM-$PKGVER