Use sudo for copying xattrs when necessary.

This commit is contained in:
Markus Reiter 2023-05-24 23:35:21 +02:00
parent cc8025d16e
commit 43c6b0ab61
No known key found for this signature in database
GPG Key ID: 245293B51702655B

View File

@ -186,6 +186,7 @@ module Cask
from,
to,
],
sudo: !to.writable?,
)
end
end