r503 - trunk/scripts
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Feb 26 05:10:24 EST 2008
Author: icculus
Date: 2008-02-26 05:10:23 -0500 (Tue, 26 Feb 2008)
New Revision: 503
Modified:
trunk/scripts/mojosetup_mainline.lua
Log:
uninstall progress meter was running backwards (delete_files() starts at the
end and works to the start). Fixed to run forwards.
Modified: trunk/scripts/mojosetup_mainline.lua
===================================================================
--- trunk/scripts/mojosetup_mainline.lua 2008-02-26 08:00:31 UTC (rev 502)
+++ trunk/scripts/mojosetup_mainline.lua 2008-02-26 10:10:23 UTC (rev 503)
@@ -1816,7 +1816,7 @@
local ptype = _("Uninstalling")
local callback = function(fname, current, total)
fname = make_relative(fname, MojoSetup.destination)
- local percent = calc_percent(current, total)
+ local percent = 100 - calc_percent(current, total)
local component = package.manifest[fname].key
if component == nil then
component = ""
More information about the mojosetup-commits
mailing list