feature #200: Fix bug in copy control of oneimage

This commit is contained in:
Tino Vázquez committed 2010-06-29 19:15:09 +02:00
1 parent eb4bb13dec
commit a55391ece7
1 file changed
+2 -2
+2 -2
View File
@@ -361,8 +361,8 @@ when "register", "create", "add"
exit -1
end
# Perform the copy to the image repo
if template['TYPE'].to_i == 0
# Perform the copy to the image repo if needed
if template['PATH']
if File.copy(template['PATH'], image['SOURCE'])
result = image.enable
else