[Pkg-dkms-commits] [SCM] Maintenance of the dkms package branch, upstream-repo/master, updated. 157d3664c7f7e4d3ae389563456561a32a9ccc8a

Mario Limonciello Mario_Limonciello at Dell.com
Sat Jan 31 12:45:15 UTC 2009


The following commit has been merged in the upstream-repo/master branch:
commit 369deec0e8732a4023f63fbb07b17cbbdf0ebd79
Author: Mario Limonciello <Mario_Limonciello at Dell.com>
Date:   Thu Jan 29 11:38:21 2009 -0600

    add a -i to the sed call

diff --git a/dkms.spec b/dkms.spec
index 5c72ee1..688c7d8 100644
--- a/dkms.spec
+++ b/dkms.spec
@@ -121,7 +121,7 @@ rm -rf $RPM_BUILD_ROOT
 #so that we can use DKMS modules
 if [ -f /etc/modprobe.conf.local ]; then
     if grep ^allow_unsupported_modules /etc/modprobe.conf.local >/dev/null; then
-         sed -e 's/^allow_unsupported_modules.*/allow_unsupported_modules=1/' /etc/modprobe.conf.local
+         sed -i -e 's/^allow_unsupported_modules.*/allow_unsupported_modules=1/' /etc/modprobe.conf.local
     else
          echo "allow_unsupported_modules=1" >> /etc/modprobe.conf.local
     fi

-- 
Maintenance of the dkms package



More information about the Pkg-dkms-commits mailing list