projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
opkg: remove some printfs and replace with opkg_message where appropriate
[oweals/opkg-lede.git]
/
libopkg
/
opkg_download.c
diff --git
a/libopkg/opkg_download.c
b/libopkg/opkg_download.c
index 4160b97ffeb34c95535110dd5776d91d6fc6b931..27b9d2e389fab47ecb1d680caa6e78b4af23401f 100644
(file)
--- a/
libopkg/opkg_download.c
+++ b/
libopkg/opkg_download.c
@@
-182,7
+182,9
@@
int opkg_download(opkg_conf_t *conf, const char *src, const char *dest_file_name
else
return -1;
- printf ("\n");
+ /* if no custom progress handler was set, we need to clear the default progress bar */
+ if (!opkg_cb_download_progress)
+ printf ("\n");
err = file_move(tmp_file_location, dest_file_name);