forked from pool/qml-autoreqprov
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:
parent
7b67ef5d59
commit
bc5b7659c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user