forked from ungleich-public/cdist
__acl: trying to understand X
This commit is contained in:
parent
9e3cd47b9a
commit
731986ef8b
1 changed files with 10 additions and 0 deletions
|
@ -35,6 +35,16 @@ do
|
|||
fi
|
||||
while read -r l
|
||||
do
|
||||
if echo "$l" | grep -Fq 'X'
|
||||
then
|
||||
if [ "$is_dir" = '1' ]
|
||||
then
|
||||
l="$( echo "$l" | sed 's/X/x/' )"
|
||||
else
|
||||
l="$( echo "$l" | sed 's/X/-/' )"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "$parameter:$l"
|
||||
|
||||
if [ -f "$__object/parameter/default" ] \
|
||||
|
|
Loading…
Reference in a new issue