containers: fix globing of RPMs with two-digit version
`?` matches only a single character, which does not work with the version on `main` being "10".
This commit is contained in:
parent
bb421f845b
commit
afd0db50c2
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ set -ux
|
|||
|
||||
if ls /share/rpms/*.rpm 1> /dev/null 2>&1; then
|
||||
echo "Using RPMs"
|
||||
rpm -i /share/rpms/koji-osbuild-?-1.*.rpm \
|
||||
rpm -i /share/rpms/koji-osbuild-[[:digit:]]*-1.*.rpm \
|
||||
/share/rpms/koji-osbuild-builder-*.rpm
|
||||
else
|
||||
echo "Using local plugin"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ set -eux
|
|||
|
||||
if ls /share/rpms/*.rpm 1> /dev/null 2>&1; then
|
||||
echo "Using RPMs"
|
||||
rpm -i /share/rpms/koji-osbuild-?-1.*.rpm \
|
||||
rpm -i /share/rpms/koji-osbuild-[[:digit:]]*-1.*.rpm \
|
||||
/share/rpms/koji-osbuild-hub-*.rpm
|
||||
else
|
||||
echo "Using local plugin"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue