Blame subr/pkg_fetch_download.subr
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
#
|
|
Lucio Andrés Illanes Albornoz |
2b85d0 |
# set +o errexit -o noglob is assumed.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
#
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
pkg_fetch_download() {
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
if [ -n "${PKG_URL}" ]; then
|
|
Lucio Andrés Illanes Albornoz |
c6d6e0 |
rtl_fetch_url_wget "${PKG_URL}" "${PKG_SHA256SUM}" "${PKG_FNAME}" || return "${?}";
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ec19f0 |
if [ -n "${PKG_URLS_GIT}" ]; then
|
|
Lucio Andrés Illanes Albornoz |
c6d6e0 |
rtl_fetch_urls_git "${PKG_BASE_DIR}" ${PKG_URLS_GIT} || return "${?}";
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
fi;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
};
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
570129 |
# vim:filetype=sh
|