ktec-subtrac 0.1.48 → 0.1.49
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/subtrac.rb +1 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
data/lib/subtrac.rb
CHANGED
@@ -66,7 +66,7 @@ module Subtrac
|
|
66
66
|
# check where we are installing
|
67
67
|
Config.confirm_or_update(:install_dir,"install_dir")
|
68
68
|
|
69
|
-
unless !File.directory?(install_dir)
|
69
|
+
unless !File.directory?(Config.install_dir)
|
70
70
|
# Ask if the user agrees (yes or no)
|
71
71
|
confirm_clean = agree("Err, it seems there's some stuff in there. You sure you want me to overwrite? [Y/n]") if options.clean
|
72
72
|
overwrite = agree("Doubly sure? I can't undo this....[Y/n]") if confirm_clean
|