generated from smedev/Template-for-SMEServer-Core-Package
Jean-Philippe Pialasse
6e69a3f6e6
- fix debuglevel=-2 not allowed [SME: 12637] - force modules needed for core [SME: 12618] php:remi-8.3 perl:5.26 python36:3.6 mariadb:10.5
15 lines
323 B
Python
15 lines
323 B
Python
#!/usr/bin/python3
|
|
import dnf
|
|
|
|
base = dnf.Base()
|
|
base.read_all_repos()
|
|
base.fill_sack()
|
|
|
|
module_base = dnf.module.module_base.ModuleBase(base)
|
|
module_base.switch_to(['php:remi-8.3'])
|
|
module_base.switch_to(['perl:5.26'])
|
|
module_base.switch_to(['python36:3.6'])
|
|
module_base.switch_to(['mariadb:10.5'])
|
|
|
|
base.do_transaction()
|