David Blume commited on 2018-05-12 16:34:46
Showing 1 changed files, with 7 additions and 3 deletions.
... | ... |
@@ -83,12 +83,16 @@ else |
83 | 83 |
echo No change to the .vim/ directories. |
84 | 84 |
fi |
85 | 85 |
|
86 |
-echo Your old dotfiles are backed up to $backup_dir |
|
87 |
- |
|
88 | 86 |
# Make a directory for vim undo |
89 | 87 |
if [ ! -d $HOME/.vim_undo ]; then |
90 | 88 |
((DRY_RUN==0)) && mkdir -p $HOME/.vim_undo |
91 | 89 |
fi |
92 | 90 |
|
93 |
-# Tell David what's left. |
|
91 |
+if [ $DRY_RUN -eq 0 ]; then |
|
92 |
+ echo Your old dotfiles are backed up to $backup_dir |
|
94 | 93 |
echo Done. Check http://config.dlma.com for more. |
94 |
+else |
|
95 |
+ echo Your old dotfiles would have been backed up to $backup_dir |
|
96 |
+ echo Dry run completed. |
|
97 |
+fi |
|
98 |
+ |
|
95 | 99 |