local srpm=$2
local force="${3:-false}"
+ [[ ! -s "$KERNELDIR/$srpm" ]] || return 0
+
# let the download_file handle the concurrency
if $DOWNLOAD; then
local location
local rpm=$1
local force="${2:-false}"
+ [[ ! -s "$KERNELRPMSBASE/$lnxmaj/$DISTROMAJ/$TARGET_ARCH/$rpm" ]] ||
+ return 0
+
# let the download_file handle the concurrency
if $DOWNLOAD; then
# get the location from a distro specific method if it exists