diff options
author | Eric Sandall | 2009-01-24 00:22:03 -0800 |
---|---|---|
committer | Arwed von Merkatz | 2009-01-26 18:27:08 +0100 |
commit | 4a92d06bf6eebe9cce49534b8b31f50787b9a2e9 (patch) | |
tree | 75617f89d81dd4e3fa87f9a37995afb5088ba456 | |
parent | 39ac67205fb5b42e83da7bf0f6a408113e5af8d3 (diff) |
FUNCTIONS: Removed simple form duplicate get_kernel_version()
Should fix Bug #10771
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | FUNCTIONS | 15 |
2 files changed, 4 insertions, 15 deletions
@@ -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 @@ -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. |