six-updater 0.14.8 → 0.14.9
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 -4
- metadata +1 -1
data/Rakefile
CHANGED
data/lib/six/updater.rb
CHANGED
data/lib/six/updater/mod.rb
CHANGED
@@ -313,10 +313,9 @@ module Six
|
|
313
313
|
file[/(.*)_(.*)\.bikey/]
|
314
314
|
prefix, suffix = $1, $2
|
315
315
|
if suffix && prefix
|
316
|
-
if suffix[/(
|
317
|
-
suf =
|
318
|
-
|
319
|
-
Dir[File.join(k_path, "#{prefix}_#{suf}*.bikey")].each { |delkey| FileUtils.rm_f(delkey) }
|
316
|
+
if suffix[/(\D*)\d*/]
|
317
|
+
suf = $1
|
318
|
+
Dir[File.join(k_path, "#{prefix}_#{suf}*.bikey")].each { |delkey| FileUtils.rm_f(delkey) } if suf
|
320
319
|
end
|
321
320
|
end
|
322
321
|
FileUtils.cp(key, k_path)
|