__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
|
||||
do
|
||||
k="$( echo "$l" | awk -F= '{print $1}' )"
|
||||
v="$( echo "$l" | awk -F= '{print $2}' )"
|
||||
o="$( printf '%s\nUnattended-Upgrade::%s "%s";\n' "$o" "$k" "$v" )"
|
||||
o="$( printf '%s\nUnattended-Upgrade::%s "%s";\n' "$o" "${l%%=*}" "${l#*=}" )"
|
||||
done \
|
||||
< "$__object/parameter/option"
|
||||
|
||||
|
|
Loading…
Reference in a new issue