Update install.sh (#182) to --force-yes install
This commit is contained in:
parent
ae32476755
commit
873580cfd5
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue