Author: jw Date: 2006-04-13 09:04:14 +0200 (Thu, 13 Apr 2006) New Revision: 1246 Modified: tools/prt-get/trunk/src/installtransaction.cpp Log: prt-get: get rid of "updating port from n to n" Modified: tools/prt-get/trunk/src/installtransaction.cpp =================================================================== --- tools/prt-get/trunk/src/installtransaction.cpp 2006-04-13 06:55:10 UTC (rev 1245) +++ tools/prt-get/trunk/src/installtransaction.cpp 2006-04-13 07:04:14 UTC (rev 1246) @@ -322,9 +322,15 @@ string fullCommand = commandName + ": " + cmd + " " + args; string summary; if (update) { - summary = commandName + ": " + "updating " + package->name() + - " from " + m_pkgDB->getPackageVersion(package->name()) + - " to " + package->version() + "-" + package->release(); + string from = m_pkgDB->getPackageVersion(package->name()); + string to = package->version() + "-" + package->release(); + if (from == to) { + summary = commandName + ": " + "reinstalling " + + package->name() + " " + to; + } else { + summary = commandName + ": " + "updating " + + package->name() + " from " + from + " to " + to; + } } else { summary = commandName + ": " + "installing " + package->name() + " " +