blob: a23b8b9dfa4db7513cebac60e3b0ca9ccd5c2e7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#
# set +o errexit -o noglob is assumed.
#
pkg_fetch_download() {
if [ -n "${PKG_URL}" ]; then
rtl_fetch_url_wget "${PKG_URL}" "${PKG_SHA256SUM}" "${PKG_FNAME}" || return "${?}";
fi;
if [ -n "${PKG_URLS_GIT}" ]; then
rtl_fetch_urls_git "${PKG_BASE_DIR}" ${PKG_URLS_GIT} || return "${?}";
fi;
};
# vim:filetype=sh
|