six-updater 0.13.1 → 0.13.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/six/updater.rb +1 -1
- data/lib/six/updater/mod.rb +3 -2
- metadata +1 -1
data/Rakefile
CHANGED
data/lib/six/updater.rb
CHANGED
data/lib/six/updater/mod.rb
CHANGED
@@ -204,8 +204,9 @@ module Six
|
|
204
204
|
#folder = File.join(basepath, subfolder)
|
205
205
|
end
|
206
206
|
|
207
|
-
file = File.join(
|
208
|
-
|
207
|
+
file = File.join(DATA_PATH, "#{@folder_str}.7z")
|
208
|
+
file = File.join(BASE_PATH, "#{@folder_str}.7z") unless File.exists?(file)
|
209
|
+
if File.exists?(file)
|
209
210
|
log.info "Found #{@folder_str}.7z, using it"
|
210
211
|
Six::Updater.zipcheck
|
211
212
|
FileUtils.mkdir_p @path
|