Use sudo for copying xattrs when necessary.
This commit is contained in:
parent
cc8025d16e
commit
43c6b0ab61
@ -186,6 +186,7 @@ module Cask
|
|||||||
from,
|
from,
|
||||||
to,
|
to,
|
||||||
],
|
],
|
||||||
|
sudo: !to.writable?,
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user