Cix: Fix download issue for component_cix
This commit is contained in:
parent
9bdae924e1
commit
abeb8dc3d7
|
|
@ -459,7 +459,23 @@ if [[ ${IGNORE_UPDATES} != yes ]]; then
|
|||
|
||||
if [[ $BOARDFAMILY == "cix" ]]; then
|
||||
|
||||
fetch_from_repo "https://github.com/orangepi-xunlong/component_cix-$BRANCH.git" "${EXTER}/cache/sources/component_cix-$BRANCH" "branch:main"
|
||||
if [[ ${GITEE_SERVER} == yes ]]; then
|
||||
fetch_from_repo "https://gitee.com/orangepi-xunlong/component_cix-$BRANCH.git" "${EXTER}/cache/sources/component_cix-$BRANCH" "branch:main"
|
||||
|
||||
if [[ ! -f "${EXTER}/cache/sources/component_cix-$BRANCH/debs/cix-npu-onnxruntime_1.1.0_arm64.deb" ]]; then
|
||||
display_alert "Downloading deb" "cix-npu-onnxruntime" "info"
|
||||
wget -c -t 5 -P "${EXTER}/cache/sources/component_cix-$BRANCH/debs/" \
|
||||
http://www.iplaystore.cn/upload/debs/cix-npu-onnxruntime_1.1.0_arm64.deb
|
||||
fi
|
||||
else
|
||||
fetch_from_repo "https://github.com/orangepi-xunlong/component_cix-$BRANCH.git" "${EXTER}/cache/sources/component_cix-$BRANCH" "branch:main"
|
||||
|
||||
if [[ ! -f "${EXTER}/cache/sources/component_cix-$BRANCH/debs/cix-npu-onnxruntime_1.1.0_arm64.deb" ]]; then
|
||||
display_alert "Downloading deb" "cix-npu-onnxruntime" "info"
|
||||
wget -c -t 5 -P "${EXTER}/cache/sources/component_cix-$BRANCH/debs/" \
|
||||
https://github.com/orangepi-xunlong/component_cix-${BRANCH}/releases/download/v1.1.0/cix-npu-onnxruntime_1.1.0_arm64.deb
|
||||
fi
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue