summaryrefslogtreecommitdiffstats
path: root/source/n/network-scripts/network-scripts.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/network-scripts/network-scripts.SlackBuild')
-rwxr-xr-xsource/n/network-scripts/network-scripts.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/n/network-scripts/network-scripts.SlackBuild b/source/n/network-scripts/network-scripts.SlackBuild
index dca8ce9c6..4832d4db2 100755
--- a/source/n/network-scripts/network-scripts.SlackBuild
+++ b/source/n/network-scripts/network-scripts.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=network-scripts
VERSION=${VERSION:-15.0}
ARCH=noarch
-BUILD=${BUILD:-12}
+BUILD=${BUILD:-13}
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
@@ -74,6 +74,12 @@ mkdir -p $PKG/lib/modprobe.d/
cat $CWD/modprobe.d/bonding.conf > $PKG/lib/modprobe.d/bonding.conf
cat $CWD/modprobe.d/ipv6.conf > $PKG/lib/modprobe.d/ipv6.conf
+# Drop the documentation in /usr/doc/network-scripts-$VERSION:
+mkdir -p $PKG/usr/doc/network-scripts-$VERSION
+cp -a $CWD/README* $PKG/usr/doc/network-scripts-$VERSION
+chown -R root:root $PKG/usr/doc/network-scripts-$VERSION
+chmod 644 $PKG/usr/doc/network-scripts-$VERSION/*
+
mkdir -p $PKG/install
zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc