download_and_compile.sh: qml-module-qtquick-controls2 for everything but --old-lts

Require qml-module-qtquick-controls2 when building 'next', or using -s,
or --lts.
This commit is contained in:
Florent Rougon 2020-11-16 15:04:22 +01:00
parent 444e8c0338
commit 4a82d5e8bc

View File

@ -603,7 +603,7 @@ function _installOrUpdateDistroPackages(){
_optional_pkg_alternative qml-module-qtquick-window2 _optional_pkg_alternative qml-module-qtquick-window2
_optional_pkg_alternative qml-module-qtquick-dialogs _optional_pkg_alternative qml-module-qtquick-dialogs
if [[ "$SELECTED_SUITE" = "next" ]]; then if [[ "$SELECTED_SUITE" != "old-lts" ]]; then
_optional_pkg_alternative qml-module-qtquick-controls2 _optional_pkg_alternative qml-module-qtquick-controls2
fi fi