From 3684106d30e0bad682d4a7ea7db0a6917ef7ca51 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Wed, 3 Nov 2010 13:52:21 +0000
Subject: [PATCH] Update All should correctly work

git-svn-id: http://svn.net-core.org/repos/t-engine4@1766 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/engines/default/modules/boot/dialogs/UpdateAll.lua | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/game/engines/default/modules/boot/dialogs/UpdateAll.lua b/game/engines/default/modules/boot/dialogs/UpdateAll.lua
index 2969b31f59..7cbf75140d 100644
--- a/game/engines/default/modules/boot/dialogs/UpdateAll.lua
+++ b/game/engines/default/modules/boot/dialogs/UpdateAll.lua
@@ -138,6 +138,7 @@ function _M:updateAll()
 
 				-- Download engine
 				fs.mkdir("/tmp-dl/modules")
+				fs.mkdir("/modules")
 				local fname = ("/tmp-dl/modules/boot-%s-%d.%d.%d.team"):format(eversion[4], eversion[1], eversion[2], eversion[3])
 				local f = fs.open(fname, "w")
 
@@ -167,6 +168,7 @@ function _M:updateAll()
 			local mod = next.mod
 
 			fs.mkdir("/tmp-dl/modules")
+			fs.mkdir("/modules")
 			local fname = ("/tmp-dl/modules/%s-%d.%d.%d.team"):format(mod.short_name, mod.version[1], mod.version[2], mod.version[3])
 			local f = fs.open(fname, "w")
 
-- 
GitLab