simp-rake-helpers 5.7.0 → 5.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/simp/rake/build/build.rb +1 -1
- data/lib/simp/rake/helpers/version.rb +1 -1
- data/lib/simp/yum.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: 7bb3d5a670a5ad588ac1a2443bd80877aa19dc8b
|
4
|
+
data.tar.gz: f4c518fae31182deabecfa1d40dc60f08b81c499
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6095934a50d542ec382f39e31886bb8eabcebe1d2c06e50ccb3bd443d67ea885ce97a0bcc22c044809722023bfd9f20f73f888c0798e71b5cc20b1f87e173ebd
|
7
|
+
data.tar.gz: 25616934d669dfe6312ed786a39d36974e1f90c2a5a3ccd7ded4d04bf1fe27996ad21891ad24ee1d43e8f1c7c4a3038fd623553384532f10c66fc562d7e450f7
|
data/CHANGELOG.md
CHANGED
data/lib/simp/yum.rb
CHANGED
@@ -186,7 +186,7 @@ module Simp
|
|
186
186
|
%x(#{@@curl} -L --max-redirs 10 -s -o #{rpm_name} -k #{rpm})
|
187
187
|
|
188
188
|
# Check what we've just downloaded
|
189
|
-
if !(File.exist?(rpm_name)
|
189
|
+
if !(File.exist?(rpm_name) && %x(#{@@file} #{rpm_name}).include?('RPM'))
|
190
190
|
# Fall back on yumdownloader
|
191
191
|
FileUtils.rm_f(rpm_name)
|
192
192
|
|