mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
core/linux-raspberrypi: use if/elif for checks from now on
This commit is contained in:
parent
cc28a53add
commit
89edbc0eb6
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue