fix(rpm-ostree): Make version magic string work when specifying keys (#262)
This commit is contained in:
commit
b1c58137e4
1 changed files with 1 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ get_yaml_array KEYS '.keys[]' "$1"
|
|||
if [[ ${#KEYS[@]} -gt 0 ]]; then
|
||||
echo "Adding keys"
|
||||
for KEY in "${KEYS[@]}"; do
|
||||
KEY="${KEY//%OS_VERSION%/${OS_VERSION}}"
|
||||
rpm --import "${KEY//[$'\t\r\n ']}"
|
||||
done
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue