diff -r 5b0601d184ed -r 2d450078e46e src/import-rpmdb.c --- a/src/import-rpmdb.c Mon Jun 23 09:59:08 2008 -0400 +++ b/src/import-rpmdb.c Mon Jun 30 09:47:32 2008 +0100 @@ -90,6 +90,7 @@ union rpm_entry basenames, dirnames, dirindexes; char filename[PATH_MAX], evr[128], buf[16]; rpmdb db; + int imported_count = 0; rpmReadConfigFiles(NULL, NULL); @@ -162,9 +163,13 @@ } razor_importer_finish_package(importer); + + printf("\rimporting %d", ++imported_count); + fflush(stdout); } rpmdbClose(db); + printf("\nsaving\n"); return razor_importer_finish(importer); }