Combine duplicated postfix conditionals

This commit is contained in:
Jack Nagel 2012-11-05 18:12:26 -06:00
parent f8183d9510
commit 2f542f657e

View File

@ -133,9 +133,10 @@ class Keg < Pathname
end
end
linked_keg_record.make_relative_symlink(self) unless mode.dry_run
optlink unless mode.dry_run
unless mode.dry_run
linked_keg_record.make_relative_symlink(self)
optlink
end
return $n + $d
rescue Exception