From 873580cfd5b6844107199be1c54bda3a80a05e52 Mon Sep 17 00:00:00 2001 From: SamhithPottem <44332775+SamhithPottem@users.noreply.github.com> Date: Wed, 23 Oct 2019 08:46:55 +0530 Subject: [PATCH] Update install.sh (#182) to --force-yes install --- install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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