forked from ungleich-public/cdist
__acl: remove macosx because no way to properly test
This commit is contained in:
parent
f586937614
commit
4c21983698
1 changed files with 3 additions and 3 deletions
|
@ -64,7 +64,7 @@ setfacl_exec='setfacl'
|
||||||
|
|
||||||
if [ -f "$__object/parameter/recursive" ]
|
if [ -f "$__object/parameter/recursive" ]
|
||||||
then
|
then
|
||||||
if echo "$os" | grep -Eq 'macosx|freebsd'
|
if echo "$os" | grep -Fq 'freebsd'
|
||||||
then
|
then
|
||||||
echo "$os setfacl do not support recursive operations" >&2
|
echo "$os setfacl do not support recursive operations" >&2
|
||||||
else
|
else
|
||||||
|
@ -84,7 +84,7 @@ then
|
||||||
then continue
|
then continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if echo "$os" | grep -Eq 'macosx|freebsd'
|
if echo "$os" | grep -Fq 'freebsd'
|
||||||
then
|
then
|
||||||
remove="$acl"
|
remove="$acl"
|
||||||
else
|
else
|
||||||
|
@ -100,7 +100,7 @@ for acl in $acl_should
|
||||||
do
|
do
|
||||||
if ! echo "$acl_is" | grep -Eq "^$acl"
|
if ! echo "$acl_is" | grep -Eq "^$acl"
|
||||||
then
|
then
|
||||||
if echo "$os" | grep -Eq 'macosx|freebsd' \
|
if echo "$os" | grep -Fq 'freebsd' \
|
||||||
&& echo "$acl" | grep -Eq '^default:'
|
&& echo "$acl" | grep -Eq '^default:'
|
||||||
then
|
then
|
||||||
echo "setting default ACL in $os is currently not supported. sorry :(" >&2
|
echo "setting default ACL in $os is currently not supported. sorry :(" >&2
|
||||||
|
|
Loading…
Reference in a new issue