Skip to content

Commit

Permalink
fix the FORCE_KERNEL
Browse files Browse the repository at this point in the history
Signed-off-by: bigbearishappy <[email protected]>
  • Loading branch information
bigbearishappy committed Apr 18, 2024
1 parent 0e5a708 commit ef082c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/reTerminal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ fi

if [ "X$keep_kernel" != "X" ]; then
if [ $DEBIAN_NUM -lt $BOOKWORM_NUM ]; then
FORCE_KERNEL=$(dpkg -s raspberrypi-kernel | awk '/^Version:/{printf "%s\n",$2;}')
FORCE_KERNEL=$(dpkg -s raspberrypi-kernel | awk '/^Version:/{printf "%s\n",$2;}' | cut -d':' -f2)
else
FORCE_KERNEL=$(dpkg -s linux-image-rpi-v8 | awk '/^Version:/{printf "%s\n",$2;}')
fi
Expand Down

0 comments on commit ef082c3

Please sign in to comment.