diff options
author | davidovski <david@davidovski.xyz> | 2022-04-11 13:29:32 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-04-11 13:29:32 +0100 |
commit | 5bad037fa71bcd7684ae1ffc7549b7b45fa08af5 (patch) | |
tree | ac62d88592ce424e5426849cc8949a0660cb80fe /src/get.sh | |
parent | 55d1861110d56e35b2c13d7742e0dc7ca2dd2665 (diff) |
added error loggingv1.1.7
Diffstat (limited to 'src/get.sh')
-rwxr-xr-x | src/get.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -91,8 +91,8 @@ download_package () { ${VERBOSE} && printf "${LIGHT_BLACK}downloading $package from $url\n" $package $checksum touch $output - (curl ${CURL_OPTS} -o "$output_info" "$url.info" || printf "${RED}Failed to download info for %s\n" $package) & - (curl ${CURL_OPTS} -o "$output" "$url" || printf "${RED}Failed to download %s\n" $package) & + (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) & } download_packages () { |