summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_fetch_extract.subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-02-26 22:26:13 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-02-26 22:26:13 +0000
commitaa37e639c68ce3724c5c71773b6399cf02ba8379 (patch)
treeac1d2162bcd26976efd0b9bdd4b5628086ab71e5 /subr/pkg_fetch_extract.subr
parent1c6c043f9bf40ce026c03d8bdc1fe8f42c52d9c5 (diff)
downloadmidipix_build-aa37e639c68ce3724c5c71773b6399cf02ba8379.tar.bz2
midipix_build-aa37e639c68ce3724c5c71773b6399cf02ba8379.tar.xz
subr/pkg_{fetch_extract,install_make}.subr, vars/env.vars: minor cleanup.
Diffstat (limited to 'subr/pkg_fetch_extract.subr')
-rw-r--r--subr/pkg_fetch_extract.subr3
1 files changed, 1 insertions, 2 deletions
diff --git a/subr/pkg_fetch_extract.subr b/subr/pkg_fetch_extract.subr
index 9df9f93e..8802a950 100644
--- a/subr/pkg_fetch_extract.subr
+++ b/subr/pkg_fetch_extract.subr
@@ -12,8 +12,7 @@ pkgp_fetch_extract_type() {
};
pkg_fetch_extract() {
- if [ -n "${PKG_URL}" ]\
- && [ "${PKG_URL_TYPE:-wget}" = wget ]; then
+ if [ -n "${PKG_URL}" ]; then
_oldpwd="${PWD}"; rtl_fileop cd "${PKG_BASE_DIR}" || return "${?}";
rtl_fileop rm "${PKG_BASE_DIR}/${PKG_SUBDIR}" || return "${?}";
case "$(pkgp_fetch_extract_type "${PKG_NAME}")" in