summaryrefslogtreecommitdiff
path: root/src/get.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-09-28 12:48:11 +0100
committerdavidovski <david@davidovski.xyz>2022-09-28 12:48:11 +0100
commit9019894c1db1a36941c66cfd1a3a557103b7495e (patch)
treee2384ac18c218a627352ccf5a094ec2c7dbb7f28 /src/get.sh
parent31be9f6f20bac11120b8064c5a8ba78e4c713ade (diff)
removed a few external command callsv1.7.5
Diffstat (limited to 'src/get.sh')
-rwxr-xr-xsrc/get.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/get.sh b/src/get.sh
index 08e5ee5..bbfc2c6 100755
--- a/src/get.sh
+++ b/src/get.sh
@@ -80,7 +80,7 @@ download_package () {
return 0
fi
${VERBOSE} && printf "${LIGHT_BLACK}downloading $package from $url\n" $package $checksum
- touch $output
+ echo > $output
(curl ${CURL_OPTS} -o "$output_info" "$url.info" 2>> ${LOG_FILE} || printf "${RED}Failed to download info for %s\n" $package)
(curl ${CURL_OPTS} -o "$output" "$url" 2>> ${LOG_FILE} || printf "${RED}Failed to download %s\n" $package)