gluon-legacy: fix order of version_files and old_files handling
This commit is contained in:
parent
10519660ea
commit
626056e625
@ -4,7 +4,7 @@ local site = require 'gluon.site_config'
|
||||
|
||||
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
|
||||
ret = 0
|
||||
end
|
||||
|
@ -3,6 +3,6 @@
|
||||
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)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user