mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-03-03 09:50:19 +00:00
allow xattr to fail
This commit is contained in:
@@ -239,7 +239,8 @@ webi_post_install() {
|
||||
|
||||
_webi_enable_exec() {
|
||||
if [ -n "$(command -v spctl)" ] && [ -n "$(command -v xattr)" ] ; then
|
||||
xattr -r -d com.apple.quarantine "$pkg_src"
|
||||
# note: some packages contain files that cannot be affected by xattr
|
||||
xattr -r -d com.apple.quarantine "$pkg_src" || true
|
||||
return 0
|
||||
fi
|
||||
# TODO need to test that the above actually worked
|
||||
|
||||
Reference in New Issue
Block a user