rpmdbRebuild: enhanced rebuilding database messages

This commit is contained in:
Дмитрий Левин 2004-02-29 20:19:38 +00:00
parent 9f9432eea1
commit 95d3140850
2 changed files with 11 additions and 4 deletions

View File

@ -3215,8 +3215,13 @@ msgstr "
#: rpmdb/rpmdb.c:3285
#, c-format
msgid "rebuilding database %s\n"
msgstr "ÐÅÒÅÓÔÒÁÉ×ÁÅÔÓÑ ÂÁÚÁ ÄÁÎÎÙÈ %s\n"
msgid "rebuilding database %s started\n"
msgstr "ÎÁÞÉÎÁÅÔÓÑ ÐÅÒÅÓÔÒÏÊËÁ ÂÁÚÙ ÄÁÎÎÙÈ %s\n"
#: rpmdb/rpmdb.c:3285
#, c-format
msgid "rebuilding database %s finished\n"
msgstr "ÐÅÒÅÓÔÒÏÊËÁ ÂÁÚÙ ÄÁÎÎÙÈ %s ÚÁ×ÅÒÛÅÎÁ\n"
#: rpmdb/rpmdb.c:3288
#, c-format

View File

@ -3421,8 +3421,8 @@ int rpmdbRebuild(const char * prefix)
newdbpath += strlen(prefix);
tfn = _free(tfn);
rpmMessage(RPMMESS_VERBOSE, _("rebuilding database %s\n"),
rootdbpath, newrootdbpath);
rpmMessage(RPMMESS_VERBOSE, _("rebuilding database %s started\n"),
rootdbpath);
rpmMessage(RPMMESS_DEBUG, _("rebuilding database %s into %s\n"),
rootdbpath, newrootdbpath);
@ -3562,6 +3562,8 @@ int rpmdbRebuild(const char * prefix)
}
}
rc = 0;
rpmMessage(RPMMESS_VERBOSE, _("rebuilding database %s finished\n"),
rootdbpath);
exit:
if (removedir && !(rc == 0 && nocleanup)) {