templates/packer: fix installing rpms from copr
There are now 2 colons present, one separating the epoch and the version, and one before the comment.
This commit is contained in:
parent
c4430ffa7a
commit
cedc351bbd
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@
|
|||
shell: |
|
||||
dnf copr enable -y @osbuild/osbuild-composer
|
||||
COMPOSER_COMMIT_SHORT=$(echo {{ COMPOSER_COMMIT }} | head -c 9)
|
||||
COMPOSER_RPMS=$(dnf search -q --showduplicates osbuild-composer | grep -E "osbuild-composer-worker-[0-9]+.*g$COMPOSER_COMMIT_SHORT.*{{ ansible_architecture }}" | cut -f 1 -d ':')
|
||||
COMPOSER_RPMS=$(dnf search -q --showduplicates osbuild-composer | grep -E "osbuild-composer-worker-[0-9]+.*g$COMPOSER_COMMIT_SHORT.*{{ ansible_architecture }}" | cut -f 1-2 -d ':')
|
||||
if [ -z $COMPOSER_RPMS ]; then
|
||||
echo $COMPOSER_COMMIT_SHORT worker rpms not available for on @osbuild/osbuild-composer copr
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue