build/prefetch: broke this, different suffixes for base/kernel
This commit is contained in:
parent
d3ad0ac3f6
commit
19a5de41ae
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Copyright (c) 2016-2021 Franco Fichtner <franco@opnsense.org>
|
||||
# Copyright (c) 2016-2023 Franco Fichtner <franco@opnsense.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
|
@ -41,7 +41,14 @@ fi
|
|||
|
||||
for ARG in ${@}; do
|
||||
case ${ARG} in
|
||||
base|kernel|packages)
|
||||
base|kernel)
|
||||
sh ./clean.sh ${ARG}
|
||||
URL="${MIRRORSETDIR}/${ARG}-${VERSION}-${PRODUCT_ARCH}"
|
||||
for SUFFIX in txz.sig txz; do
|
||||
fetch -o ${SETSDIR} ${URL}.${SUFFIX} || true
|
||||
done
|
||||
;;
|
||||
packages)
|
||||
sh ./clean.sh ${ARG}
|
||||
URL="${MIRRORSETDIR}/${ARG}-${VERSION}-${PRODUCT_ARCH}"
|
||||
for SUFFIX in tar.sig tar; do
|
||||
|
|
Loading…
Reference in New Issue