Bugfix - don't die in case of Mirror sync in progress?

This commit is contained in:
Igor Pecovnik 2020-10-18 21:51:05 +02:00
parent 4cdf3c3d0e
commit 619966891c

View File

@ -212,8 +212,7 @@ install_common()
EOF
display_alert "Updating" "package lists"
chroot "${SDCARD}" /bin/bash -c "apt-get update &>/dev/null"
[[ $? -ne 0 ]] && exit_with_error "Updating packages failed"
chroot "${SDCARD}" /bin/bash -c "apt-get update" "${DEST}"/debug/install.log 2>&1
# install family packages
if [[ -n ${PACKAGE_LIST_FAMILY} ]]; then