update deploy

This commit is contained in:
Sergey Zhemoytel 2025-01-06 19:02:04 +03:00
parent d4b418765f
commit ea247cef1a

View file

@ -142,12 +142,12 @@ runs:
}
for dir in SRPMS RPMS/noarch RPMS/*; do
for dir in SRPMS RPMS/*; do
if [ -d "${RPMBUILDROOT}/${dir}" ]; then
for file in "${RPMBUILDROOT}/${dir}"/*.rpm; do
if [ -f "$file" ]; then
if [ "$dir" = "SRPMS" ]; then
arch="noarch"
arch="srpms"
type="srpm"
elif [ "$dir" = "noarch" ]; then
arch="noarch"