linecook-gem 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linecook/builder/lxc.rb +1 -1
- data/lib/linecook/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee54645b2e182e0aa4f8c40d7dda5685d743972d
|
4
|
+
data.tar.gz: 602ff0898efb7b578c4f7fdb3398094b205a7d0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 701617fea4cfe33880db86b3c17a0dcdd15402f25a050da4469f4734f85bd9da80cdaccdbe2cf704e58f020b3ea35e4653e79e1d8cfc918e1b7c34d32fe322e1
|
7
|
+
data.tar.gz: 6bb3c78a373ae13c17d6bf71ec692a688c5cac026d110e00ef3829e7de88b6b7531ac8b3501a9b26f731d68adbfa6ca3944af7529dc63a90a2ac3f7b96e6cb79
|
data/lib/linecook/builder/lxc.rb
CHANGED
@@ -199,7 +199,7 @@ eos
|
|
199
199
|
@source_path = Linecook::ImageManager.fetch(@source_image, profile: :public)
|
200
200
|
if @remote
|
201
201
|
dest = "#{File.basename(@source_path)}"
|
202
|
-
unless test("[ -f #{dest} ]") && capture("shasum #{dest}").split.first
|
202
|
+
unless test("[ -f #{dest} ]") && capture("shasum #{dest}").split.first == `shasum #{@source_path}`.split.first
|
203
203
|
@remote.upload(@source_path, dest)
|
204
204
|
end
|
205
205
|
@image_path = dest
|
data/lib/linecook/version.rb
CHANGED