From e96130fc28e072b9834216ee81e8892045908c65 Mon Sep 17 00:00:00 2001 From: zorzcc <34641923+zorzcc@users.noreply.github.com> Date: Fri, 18 May 2018 13:45:03 +0800 Subject: [PATCH] Update bbr.sh --- bbr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbr.sh b/bbr.sh index fddc79c..3484c43 100644 --- a/bbr.sh +++ b/bbr.sh @@ -134,7 +134,7 @@ get_latest_version() { deb_name=$(wget -qO- http://kernel.ubuntu.com/~kernel-ppa/mainline/v${kernel}/ | grep "linux-image" | grep "generic" | awk -F'\">' '/amd64.deb/{print $2}' | cut -d'<' -f1 | head -1) deb_kernel_url="http://kernel.ubuntu.com/~kernel-ppa/mainline/v${kernel}/${deb_name}" deb_kernel_name="linux-image-${kernel}-amd64.deb" - modules_deb_name=$(wget -qO- http://kernel.ubuntu.com/~kernel-ppa/mainline/v${kernel}/ | grep "linux-modules" | grep "generic" | awk -F'\">' '/amd64.deb/{print $2}' | cut -d'<' -f1 | head -1) + modules_deb_name=$(wget -qO- http://kernel.ubuntu.com/~kernel-ppa/mainline/v${kernel}/ | grep "linux-modules" | grep "generic" | awk -F'\">' '/amd64.deb/{print $2}' | cut -d'<' -f1 | head -1) [[ -n ${modules_deb_name} ]] && deb_kernel_modules_url="http://kernel.ubuntu.com/~kernel-ppa/mainline/v${kernel}/${modules_deb_name}" [[ -n ${modules_deb_name} ]] && deb_kernel_modules_name="linux-modules-${kernel}-amd64.deb" else