Skip to content

Commit 873580c

Browse files
SamhithPottemturmary
authored andcommitted
Update install.sh (respeaker#182) to --force-yes install
1 parent ae32476 commit 873580c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

install.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function install_kernel() {
9191

9292
# Instead of retriving the lastest kernel & headers
9393
[ "X$FORCE_KERNEL" == "X" ] && {
94-
apt-get -y install raspberrypi-kernel-headers raspberrypi-kernel
94+
apt-get -y --force-yes install raspberrypi-kernel-headers raspberrypi-kernel
9595
} || {
9696
# We would like to a fixed version
9797
KERN_NAME=raspberrypi-kernel_${FORCE_KERNEL}_armhf.deb
@@ -108,7 +108,6 @@ function install_kernel() {
108108
which apt &>/dev/null
109109
if [[ $? -eq 0 ]]; then
110110
apt update -y
111-
112111
apt-get -y install dkms git i2c-tools libasound2-plugins
113112
install_kernel
114113
# rpi-update checker

0 commit comments

Comments
 (0)