Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Show a progression on adding packages with no files
Baptiste Daroussin committed 11 years ago
commit 1225fe02d52fb26891701fd0af16c785ccd19929
parent 964ef87
1 file changed +3 -0
modified libpkg/pkg_add.c
@@ -54,6 +54,9 @@ do_extract(struct archive *a, struct archive_entry *ae, const char *location,

	pkg_get(pkg, PKG_NAME, &name);
	pkg_emit_progress_start(NULL);
+
	/* show a progression on package with no files */
+
	if (nfiles == 0)
+
		pkg_emit_progress_tick(1,1);

	do {
		snprintf(pathname, sizeof(pathname), "%s/%s",