Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-01-16 14:08:42 -05:00
parent 47a9a13c2d
commit 4f9eb59fcc
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -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