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