Small logic fix for 2.4 kernels to work.
authorPeter Johanson <latexer@gentoo.org>
Wed, 13 Oct 2004 01:06:10 +0000 (01:06 +0000)
committerPeter Johanson <latexer@gentoo.org>
Wed, 13 Oct 2004 01:06:10 +0000 (01:06 +0000)
sys-fs/submount/ChangeLog
sys-fs/submount/Manifest
sys-fs/submount/submount-0.9-r1.ebuild

index dec5dbf234f6f43d1b63423a94fe15ddcbcdd004..0ed28e6eb99e85cb713c4314da60211ac90c5a5f 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for sys-fs/submount
 # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/submount/ChangeLog,v 1.7 2004/10/13 00:51:10 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/submount/ChangeLog,v 1.8 2004/10/13 01:06:10 latexer Exp $
+
+  12 Oct 2004; <peter@gentoo.org> submount-0.9-r1.ebuild:
+  Small logic fix to not fail if using a 2.4 kernel.
 
 *submount-0.9-r1 (12 Oct 2004)
 
index f34b6c2b06ae8a165f36e8ab335749edfbfe69be..45ec6aa470e7d69d9147ca059f9ae021e12ee83a 100644 (file)
@@ -1,6 +1,6 @@
 MD5 6097e401c04aa5d24eccd4a88d52d623 submount-0.9.ebuild 1375
-MD5 0c2bfdc5b0b668ba9bfbbc6534806821 submount-0.9-r1.ebuild 1739
-MD5 a1f08696d103c0df6a4515b831c379fb ChangeLog 979
+MD5 a7281f8ef216fedb2c6f81f0dd72485c submount-0.9-r1.ebuild 1758
+MD5 5fadbb689590444f2e7106b8287a4173 ChangeLog 1091
 MD5 c3aedbfe00ee1a825a9d5760b4b4271e metadata.xml 316
 MD5 f4303204067c19d5a000a8b0eac1213c files/digest-submount-0.9-r1 63
 MD5 f4303204067c19d5a000a8b0eac1213c files/digest-submount-0.9 63
index da113f28b5b0656cdd5e6241c25862dc7845b4a8..a5f3391fc0c7b092d368a2f6c5fe7aacd1b19764 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/submount/submount-0.9-r1.ebuild,v 1.1 2004/10/13 00:51:10 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/submount/submount-0.9-r1.ebuild,v 1.2 2004/10/13 01:06:10 latexer Exp $
 
 inherit eutils kernel-mod
 
@@ -36,13 +36,16 @@ src_unpack()
        cd ${S}
        kernel-mod_getversion
 
-       if [ "${KV_MINOR}" -gt 5 ] && [ "${KV_PATCH}" -gt 5 ]
+       if [ "${KV_MINOR}" -gt 5 ]
        then
-               sed -i "s:SUBDIRS=:M=:" \
-                       ${S}/subfs${EXTRA_V}-${PV}/Makefile
-       else
-               eerror "This version of submount requires a kernel of 2.6.6 or greater"
-               die "Too old of a kernel found."
+               if [ "${KV_PATCH}" -gt 5 ]
+               then
+                       sed -i "s:SUBDIRS=:M=:" \
+                               ${S}/subfs${EXTRA_V}-${PV}/Makefile
+               else
+                       eerror "This version of submount requires a kernel of 2.6.6 or greater"
+                       die "Too old of a kernel found."
+               fi
        fi
 }