__apt_unattended_upgrades: use word expansions
This commit is contained in:
parent
6fa0d687f7
commit
6097cd9e90
1 changed files with 1 additions and 3 deletions
|
@ -47,9 +47,7 @@ then
|
||||||
|
|
||||||
while read -r l
|
while read -r l
|
||||||
do
|
do
|
||||||
k="$( echo "$l" | awk -F= '{print $1}' )"
|
o="$( printf '%s\nUnattended-Upgrade::%s "%s";\n' "$o" "${l%%=*}" "${l#*=}" )"
|
||||||
v="$( echo "$l" | awk -F= '{print $2}' )"
|
|
||||||
o="$( printf '%s\nUnattended-Upgrade::%s "%s";\n' "$o" "$k" "$v" )"
|
|
||||||
done \
|
done \
|
||||||
< "$__object/parameter/option"
|
< "$__object/parameter/option"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue