projects
/
webi-installers
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68cb795
)
allow xattr to fail
author
AJ ONeal
<aj@therootcompany.com>
Sat, 26 Sep 2020 22:55:29 +0000
(22:55 +0000)
committer
AJ ONeal
<aj@therootcompany.com>
Mon, 5 Oct 2020 22:07:59 +0000
(22:07 +0000)
_webi/template.sh
patch
|
blob
|
history
diff --git
a/_webi/template.sh
b/_webi/template.sh
index 4dc0a2ce1c61fae5acf5c4587e71b26e1e9bcd31..911354ef97527f92a2f51ad8b66cc00d6ebf8246 100644
(file)
--- a/
_webi/template.sh
+++ b/
_webi/template.sh
@@
-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