plugins/pck-update: check format_unpackaged_file_list_common before arch-specific list

This commit is contained in:
Silvan 2023-09-10 16:39:01 +02:00
parent 8aa63ca871
commit 43b346caec

View File

@ -2214,8 +2214,8 @@ format_unpackaged_file_list_arch = $format_unpackaged_file_list_arch"
[ "$skipline" = 1 ] || echo "$line" [ "$skipline" = 1 ] || echo "$line"
done < <(LC_ALL=C eval rpmbuild -bl $rpmbuild_opts --nodeps --nobuild \ done < <(LC_ALL=C eval rpmbuild -bl $rpmbuild_opts --nodeps --nobuild \
$SRPM_SPECFILE_WITH_PATH $USER_RPMDEFINE_OPTS 2>&1) | \ $SRPM_SPECFILE_WITH_PATH $USER_RPMDEFINE_OPTS 2>&1) | \
sed -e "${!format_unpackaged_file_list_arch};\ sed -e "$format_unpackaged_file_list_common;\
$format_unpackaged_file_list_common" > $tmpunpackfiles ${!format_unpackaged_file_list_arch}" > $tmpunpackfiles
if [ -s "$tmpunpackfiles" ]; then if [ -s "$tmpunpackfiles" ]; then
notify.error $"\ notify.error $"\