Simon Sigurdhsson
a79f1a80b8
brew-pin: Fix bug in FormulaPin#pinned?
...
Since `pinned?` was using `File#exists?`, broken symlinks left by force-upgraded
formulae made `pinned?` return false while `pin` returned with an error because
it could not overwrite the broken link. This is fixed by using `File#symlink?`
instead, which returns true for broken symlinks and false only when they do not
exist.
Closes #18858 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com >
2013-03-31 19:27:17 +01:00
..
2013-03-31 19:27:17 +01:00
2013-03-23 13:40:18 -05:00
2013-02-07 22:31:05 -06:00
2013-03-28 17:37:29 -05:00
2013-03-23 14:23:03 -05:00
2013-03-21 17:10:32 +01:00
2013-03-28 17:37:29 -05:00
2013-01-17 22:29:20 -06:00
2013-03-16 10:28:24 -07:00
2013-03-09 21:29:53 +00:00
2013-02-25 14:01:02 -06:00
2013-01-26 12:14:47 -06:00
2013-03-16 13:05:02 -05:00
2013-02-06 22:27:57 -08:00
2013-01-30 22:36:12 -08:00
2013-03-18 00:11:49 -05:00
2013-03-16 13:05:02 -05:00
2013-02-07 19:02:20 -06:00
2013-01-26 20:30:05 -06:00
2013-01-26 20:30:05 -06:00
2013-02-12 16:26:10 -06:00
2013-01-31 15:40:06 -06:00
2013-03-28 17:37:29 -05:00
2013-02-18 12:13:34 -06:00
2013-03-21 10:33:17 +00:00
2013-02-09 18:19:50 -06:00
2013-03-31 19:27:17 +01:00
2012-07-04 22:47:32 -05:00
2013-03-28 17:37:29 -05:00
2013-03-30 19:50:47 +00:00
2013-03-21 08:37:51 -05:00
2013-03-23 13:40:18 -05:00
2013-03-11 18:58:37 +00:00
2013-02-18 12:13:36 -06:00
2012-08-17 13:38:26 -05:00
2013-03-11 17:41:21 -05:00
2013-03-23 13:40:18 -05:00
2012-11-11 11:20:21 -08:00
2013-02-17 20:57:10 -06:00
2012-09-11 22:37:07 -07:00
2013-02-12 16:28:50 -06:00
2013-02-19 10:15:52 -06:00
2013-03-21 17:10:32 +01:00
2013-03-28 17:37:29 -05:00
2013-03-21 17:20:57 -05:00
2013-02-07 12:39:54 -06:00