diff --git a/install.sh b/install.sh index 4f81b0d..40d9efe 100755 --- a/install.sh +++ b/install.sh @@ -91,7 +91,7 @@ function install_kernel() { # Instead of retriving the lastest kernel & headers [ "X$FORCE_KERNEL" == "X" ] && { - apt-get -y install raspberrypi-kernel-headers raspberrypi-kernel + apt-get -y --force-yes install raspberrypi-kernel-headers raspberrypi-kernel } || { # We would like to a fixed version KERN_NAME=raspberrypi-kernel_${FORCE_KERNEL}_armhf.deb @@ -108,7 +108,6 @@ function install_kernel() { which apt &>/dev/null if [[ $? -eq 0 ]]; then apt update -y - apt-get -y install dkms git i2c-tools libasound2-plugins install_kernel # rpi-update checker