core/linux-raspberrypi: use if/elif for checks from now on

This commit is contained in:
graysky 2021-10-04 07:50:48 -04:00
parent cc28a53add
commit 89edbc0eb6

View file

@ -32,8 +32,11 @@ md5sums=('8b6f5b06d5a252cbb06ea1b33ee45c25'
'18d63f130f6e161aece55aea93b38e14')
# setup vars
[[ $CARCH == "armv6h" ]] && _kernel=kernel.img
[[ $CARCH == "armv7h" ]] && _kernel=kernel7.img
if [[ $CARCH == "armv6h" ]]; then
_kernel=kernel.img
elif [[ $CARCH == "armv7h" ]]; then
_kernel=kernel7.img
fi
_image=zImage
_config=config
_bconfig=config.txt