summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Sandall2009-01-24 00:22:03 -0800
committerArwed von Merkatz2009-01-26 18:27:08 +0100
commit4a92d06bf6eebe9cce49534b8b31f50787b9a2e9 (patch)
tree75617f89d81dd4e3fa87f9a37995afb5088ba456
parent39ac67205fb5b42e83da7bf0f6a408113e5af8d3 (diff)
FUNCTIONS: Removed simple form duplicate get_kernel_version()
Should fix Bug #10771
-rw-r--r--ChangeLog4
-rwxr-xr-xFUNCTIONS15
2 files changed, 4 insertions, 15 deletions
diff --git a/ChangeLog b/ChangeLog
index 27834a9d2c..eba0358327 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-23 Eric Sandall <sandalle@sourcemage.org>
+ * FUNCTIONS: Removed simple form duplicate get_kernel_version()
+ Should fix Bug #10771
+
2009-01-03 Andraž "ruskie" Levstik <ruskie@mages.ath.cx>
* python-pypi/pyxmpp: new spell, python xmpp library
* python-pypi/jcl: new spell, python jabber component library
diff --git a/FUNCTIONS b/FUNCTIONS
index 44bf5e9530..24bc4d4591 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -575,21 +575,6 @@ function get_sorcery_kernel_version()
installed_version linux || echo "-1"
}
-#-------------------------------------------------------------------------
-## Print the version of the kernel defined in USE_KERNEL_VERSION or,
-## lacking that, the version of either the installed linux spell or the
-## running kernel.
-#-------------------------------------------------------------------------
-function get_kernel_version()
-{
- if [[ $USE_KERNEL_VERSION ]]
- then
- echo "$USE_KERNEL_VERSION"
- else
- installed_version linux || get_running_kernel_version
- fi
-}
-
#-----------------------------------------------------------------------
## Print the kernel config status of the running kernel for the option
## defined in $1.