linecook-gem 0.7.27 → 0.7.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linecook-gem/packager/packer.rb +2 -0
- data/lib/linecook-gem/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: e413a2e2ec8ce58d8c7fde9d9afdeb71d8810582
|
4
|
+
data.tar.gz: d8fdaf376b5b9eb91981e3a849614430261ea8ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97eb01613ffa7720947736573252a85f6613b114b9514d8c05ca643e78214f990fb94a490ad606454bcff52f2e3ee8c2ed2159a32248f958c1c5d3193de986af
|
7
|
+
data.tar.gz: 0fae50c55a20d434114db047f427d3ccc40b2e3618f9e7d1e601c2e4e990c820c64f6178e225d7425e25b0460de13b0841bd84190f4b32105e6d7766d49aff6c
|
@@ -159,6 +159,8 @@ module Linecook
|
|
159
159
|
def get_packer
|
160
160
|
puts "packer too old (<#{PACKER_VERSION}) or not present, getting latest packer"
|
161
161
|
arch = 1.size == 8 ? 'amd64' : '386'
|
162
|
+
|
163
|
+
FileUtils.rm_f(Dir[File.join(File.dirname(PACKER_PATH), "*")])
|
162
164
|
path = File.join(File.dirname(PACKER_PATH), 'packer.zip')
|
163
165
|
url = File.join(SOURCE_URL, PACKER_VERSION, "packer_#{PACKER_VERSION}_linux_#{arch}.zip")
|
164
166
|
download(url, path)
|
data/lib/linecook-gem/version.rb
CHANGED