1
0

Make the right line conditional

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/qml-autoreqprov?expand=0&rev=16
This commit is contained in:
Fabian Vogt 2024-01-23 07:58:52 +00:00 committed by Git OBS Bridge
parent 7b67ef5d59
commit bc5b7659c8

View File

@ -101,10 +101,10 @@ while read file; do
echo "Ignoring ${import}" >&2
continue
fi
moduleExports["qt${qtver}qmlimport(${import%.*})"]="" # Provides for unversioned imports
if [[ $qtver -ge 6 ]]; then
foundModuleExport "qt${qtver}qmlimport(${import})" "$min"
moduleExports["qt${qtver}qmlimport(${import%.*})"]="" # Provides for unversioned imports
fi
foundModuleExport "qt${qtver}qmlimport(${import})" "$min"
done < <(qmlpluginexports-qt${qtver} "$plugin" "$module")
done
fi