Permalink
Browse files

do not create symlinks if user skips

  • Loading branch information...
1 parent 4dce816 commit 9ab2627c26d1fde201e2cdfc0f6e8242429f1a0c Yannik Stein committed Aug 1, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Rakefile
View
@@ -24,9 +24,10 @@ task :install do
when 'O' then overwrite_all = true
when 'B' then backup_all = true
when 'S' then skip_all = true
- when 's' then next
+ when 's' then skip = true
end
end
+ next if skip || skip_all
FileUtils.rm_rf(target) if overwrite || overwrite_all
`mv "$HOME/.#{file}" "$HOME/.#{file}.backup"` if backup || backup_all
end

0 comments on commit 9ab2627

Please sign in to comment.