ktec-subtrac 0.1.48 → 0.1.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|