mirror of https://github.com/OpenIPC/firmware.git
ash is not bash, there's no [[ ]] nor ==
parent
da2ad008d9
commit
04e4db68af
|
@ -75,11 +75,8 @@ do_wipe_overlay() {
|
||||||
download_firmware() {
|
download_firmware() {
|
||||||
echo_c 33 "\nFirmware"
|
echo_c 33 "\nFirmware"
|
||||||
osr=$(get_system_build)
|
osr=$(get_system_build)
|
||||||
if [[ "${osr}" == "lite" ]] || [[ "${osr}" == "" ]]; then
|
|
||||||
build="-"
|
build="-"
|
||||||
else
|
[ -n "${osr}"] && [ "lite" != "${osr}" ] && build="${build}${osr}-"
|
||||||
build="-${osr}-"
|
|
||||||
fi
|
|
||||||
[ -z "$url" ] && url="https://github.com/OpenIPC/firmware/releases/download/latest/openipc.${soc}${build}br.tgz"
|
[ -z "$url" ] && url="https://github.com/OpenIPC/firmware/releases/download/latest/openipc.${soc}${build}br.tgz"
|
||||||
echo "Download from $url"
|
echo "Download from $url"
|
||||||
[ -z "$HASERLVER" ] && progress="-#" || progress="-s"
|
[ -z "$HASERLVER" ] && progress="-#" || progress="-s"
|
||||||
|
|
Loading…
Reference in New Issue