osvt 1.5.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/osvt +2 -1
- data/lib/osvt.rb +1 -1
- metadata +1 -1
data/bin/osvt
CHANGED
@@ -61,7 +61,8 @@ OSVT_D = File::join HOME, ".osvt"
|
|
61
61
|
CONFIG_F = File::join OSVT_D, "osvt.conf"
|
62
62
|
|
63
63
|
|
64
|
-
if
|
64
|
+
if ( !(File.exists?(OSVT_D) && File.directory?(OSVT_D)))
|
65
|
+
|
65
66
|
FileUtils::mkdir_p OSVT_D, :mode => 0700 unless test ?d, OSVT_D
|
66
67
|
test ?e, CONFIG_F
|
67
68
|
|
data/lib/osvt.rb
CHANGED