Commit 64e0adf0 authored by Natanael Copa's avatar Natanael Copa
Browse files

url: unlink file before trying to download

parent 9d22718d
......@@ -91,6 +91,7 @@ int apk_url_download(const char *url, const char *file)
if (pid == 0) {
dup2(open("/dev/null", O_RDONLY), STDIN_FILENO);
execlp("wget", "wget", "-q", "-O", file, url, NULL);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment