r384 - trunk/scripts
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Dec 5 05:37:25 EST 2007
Author: icculus
Date: 2007-12-05 05:37:09 -0500 (Wed, 05 Dec 2007)
New Revision: 384
Modified:
trunk/scripts/mojosetup_mainline.lua
Log:
Fixed script crash when no splash screen is specified.
Modified: trunk/scripts/mojosetup_mainline.lua
===================================================================
--- trunk/scripts/mojosetup_mainline.lua 2007-12-05 07:26:56 UTC (rev 383)
+++ trunk/scripts/mojosetup_mainline.lua 2007-12-05 10:37:09 UTC (rev 384)
@@ -988,7 +988,13 @@
-- Now make all this happen.
- if not MojoSetup.gui.start(install.description, 'meta/' .. install.splash) then
+
+ local splashfname = install.splash
+ if splashfname ~= nil then
+ splashfname = 'meta/' .. splashfname
+ end
+
+ if not MojoSetup.gui.start(install.description, splashfname) then
MojoSetup.fatal(_("GUI failed to start"))
end
More information about the mojosetup-commits
mailing list