smeserver-update/root/etc/e-smith/events/actions/dnf_modules

15 lines
323 B
Plaintext
Raw Normal View History

#!/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()