gluon-legacy: fix order of version_files and old_files handling

This commit is contained in:
Matthias Schiffer 2014-07-05 01:12:04 +02:00
parent 10519660ea
commit 626056e625
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ local site = require 'gluon.site_config'
local ret = 1 local ret = 1
for _, file in pairs(site.legacy.version_files) do for _, file in ipairs(site.legacy.version_files) do
if os.remove(file) then if os.remove(file) then
ret = 0 ret = 0
end end

View File

@ -3,6 +3,6 @@
local site = require 'gluon.site_config' local site = require 'gluon.site_config'
for _, file in pairs(site.legacy.old_files) do for _, file in ipairs(site.legacy.old_files) do
os.remove(file) os.remove(file)
end end