summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2025-04-01 14:13:10 +0200
committerSimon Rettberg2025-04-01 14:13:10 +0200
commitab6330ff796b138a1190f815426bc4b04bfc0e2b (patch)
tree62f90703727b8ececc85099ee1951190c3a8a4b2
parent[inc/downloader] autoclone: Try github mirror on repeated failure (diff)
downloadmltk-ab6330ff796b138a1190f815426bc4b04bfc0e2b.tar.gz
mltk-ab6330ff796b138a1190f815426bc4b04bfc0e2b.tar.xz
mltk-ab6330ff796b138a1190f815426bc4b04bfc0e2b.zip
[vmware17] Download doesn't return on error, no need to check
-rw-r--r--core/includes/downloader.inc2
-rw-r--r--core/modules/vmware17/module.build3
2 files changed, 3 insertions, 2 deletions
diff --git a/core/includes/downloader.inc b/core/includes/downloader.inc
index 4617a131..333d1481 100644
--- a/core/includes/downloader.inc
+++ b/core/includes/downloader.inc
@@ -59,6 +59,7 @@ download () {
rm -f -- "$tmpfile"
[ -n "$f" ] && pinfo "Checksum of downloaded file is valid :-)"
fi
+ return 0
}
# [algo] [file_to_hash] [sumfile] [name_in_sumfile]
@@ -94,6 +95,7 @@ download_untar () {
local RET=$?
[ "x$RET" != "x0" ] && perror "could not untar $TMPFILE to $DEST (tar returned $RET)"
unlink "$TMPFILE"
+ return 0
}
# Download first param URL to second param path,
diff --git a/core/modules/vmware17/module.build b/core/modules/vmware17/module.build
index 9f20ecdb..17a20fa7 100644
--- a/core/modules/vmware17/module.build
+++ b/core/modules/vmware17/module.build
@@ -4,8 +4,7 @@ fetch_source() {
cde "${MODULE_WORK_DIR}/src"
local url="https://files.bwlp.ks.uni-freiburg.de/stuff/vmware/VMware-Workstation-${REQUIRED_VERSION}.tgz"
- download "${url}" "${MODULE_WORK_DIR}/src/VMware.tgz" \
- || perror "Could not download ${url}"
+ download "${url}" "${MODULE_WORK_DIR}/src/VMware.tgz"
}
build() {