mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
fix
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
47a9a13c2d
commit
4f9eb59fcc
|
@ -54,7 +54,7 @@ install_kernel(){
|
|||
|
||||
# get the kernel source
|
||||
if [[ "$VERSION" == *-rc* ]]; then
|
||||
[ -d /usr/src/linux-${VERSION} ] || curl -sSL "https://git.kernel.org/torvalds/t/linux-${VERSION}.tar.gz" | tar -v -C /usr/src -x
|
||||
[ -d /usr/src/linux-${VERSION} ] || curl -sSL "https://git.kernel.org/torvalds/t/linux-${VERSION}.tar.gz" | tar -v -C /usr/src -xz
|
||||
|
||||
MAJOR_MINOR_VERSION="${MAJOR_VERSION}.x-rcN"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user