From 758aef11a8f4884cde910fc00ff2ebba6b56744a Mon Sep 17 00:00:00 2001 From: tytan652 Date: Sun, 10 Jan 2021 11:17:34 +0100 Subject: [PATCH] fix(really): backports kernel removal Just forget how to create bash variable --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 07f5987..12791f6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -65,10 +65,10 @@ then --option Dpkg::Options::=--force-confold install linux-image-$arch/stable #Remove backports kernel if running on it and send a mail to the admin to ask him to reboot - linuxkernel_version = $(uname -r) + linuxkernel_version=$(uname -r) if [[ $linuxkernel_version == *"bpo"* ]] then - ynh_package_remove "linux-image-$linuxkernel_version" + ynh_package_remove linux-image-$linuxkernel_version echo "You've been using an experimental version of wireguard_ynh, which was using the backports version of the linux kernel. Now wireguard_ynh use a DKMS module allowing itself to be used with the stable kernel, then the backports one was removed and a reboot is needed to go back to the stable one." > mail_to_send