mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-20 19:44:56 +02:00
build: fix support for 2.6.x kernels
After commit 75b3762ef4
"WARNING: That
kernel version is not supported." is issued to supported kernels too.
Fix this.
This commit is contained in:

committed by
Jan Engelhardt

parent
4203259e5a
commit
ef7fb0db7f
@@ -65,7 +65,7 @@ if test -n "$kbuilddir"; then
|
||||
echo "WARNING: You are trying a newer kernel. Results may vary. :-)";
|
||||
elif test "$kmajor" -eq 3; then
|
||||
:;
|
||||
elif test "$kmajor" -eq 2 -a "$kminor" -ge 29; then
|
||||
elif test "$kmajor" -eq 2 -a "$kminor" -eq 6 -a "$kmicro" -ge 29; then
|
||||
:;
|
||||
else
|
||||
echo "WARNING: That kernel version is not supported.";
|
||||
|
Reference in New Issue
Block a user