diff options
author | George Sherwood | 2006-11-08 21:24:30 +0400 |
---|---|---|
committer | George Sherwood | 2006-11-08 21:24:30 +0400 |
commit | 58ae032889786b32ff85f1ff8f972a3a1a774913 (patch) | |
tree | 2583facb784cff2b7be424faaf6d5b985e7066b9 /display/svgalib | |
parent | 3473e0549a2d20d3379ce246a5468541413e56b5 (diff) |
svgalib: Fix if statement in INSTALL to use the same methods as BUILD.
Diffstat (limited to 'display/svgalib')
-rw-r--r-- | display/svgalib/HISTORY | 1 | ||||
-rwxr-xr-x | display/svgalib/INSTALL | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/display/svgalib/HISTORY b/display/svgalib/HISTORY index ec266cd999..fa9132bda3 100644 --- a/display/svgalib/HISTORY +++ b/display/svgalib/HISTORY @@ -1,5 +1,6 @@ 2006-11-08 George Sherwood <george@beernabeer.com> * BUILD: Simplify if statement. Fixes bug 13226 with bash 3.2 + * INSTALL: Fix if statement to work the same way. 2006-09-25 Treeve Jelbert <treeve@pi.be> * DETAILS: version 1.9.25 diff --git a/display/svgalib/INSTALL b/display/svgalib/INSTALL index 44d4ac49b6..71575446cd 100755 --- a/display/svgalib/INSTALL +++ b/display/svgalib/INSTALL @@ -1,8 +1,8 @@ make_normal && make prefix=${INSTALL_ROOT}/usr install && cd kernel/svgalib_helper && -if [ `uname -r | cut -d. -f1,2` == "2.6" ] -then +local V=$(get_kernel_version) && +if [[ "${V:0:3}" == "2.6" ]]; then message "${MESSAGE_COLOR}Installing for 2.6...${DEFAULT_COLOR}" && make install else |