Skip to content
Snippets Groups Projects
Unverified Commit 46f583c4 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #4009 from MikeMcQuaid/keg-bad-tap-opt-symlink

keg: delete bad tap opt non-symlink directories.
parents 60d6b4d9 5dfa0cf6
No related branches found
No related tags found
No related merge requests found
......@@ -238,7 +238,9 @@ class Keg
if tap
bad_tap_opt = opt/tap.user
FileUtils.rm_rf bad_tap_opt if bad_tap_opt.directory?
if !bad_tap_opt.symlink? && bad_tap_opt.directory?
FileUtils.rm_rf bad_tap_opt
end
end
aliases.each do |a|
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment