generated from smedev/Template-for-SMEServer-Core-Package
- deactivate mariadb 10.5 module (do it on update) [SME: 12955] - rewrite module setting to avoid failure [SME: 12962] * Wed Mar 12 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-21.sme - fix not all gpg keys are imported [SME: 12960]
48 lines
1.5 KiB
Bash
48 lines
1.5 KiB
Bash
#!/bin/bash
|
|
#----------------------------------------------------------------------
|
|
# copyright (C) 2025 Koozali Foundation Inc.
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
#----------------------------------------------------------------------
|
|
|
|
# set mariadb as disabled, as we use rpm directly from MariaDB
|
|
printf '[mariadb]
|
|
name=mariadb
|
|
stream=
|
|
profiles=
|
|
state=disabled' | crudini --merge /etc/dnf/modules.d/mariadb.module
|
|
|
|
# set perl 5.26
|
|
printf '[perl]
|
|
name=perl
|
|
stream=5.26
|
|
profiles=
|
|
state=enabled' | crudini --merge /etc/dnf/modules.d/perl.module
|
|
|
|
# set php module to our default
|
|
printf '[php]
|
|
name=php
|
|
stream=remi-8.4
|
|
profiles=
|
|
state=enabled' | crudini --merge /etc/dnf/modules.d/php.module php
|
|
|
|
# set python to 3.6
|
|
printf '[python36]
|
|
name=python36
|
|
stream=3.6
|
|
profiles=
|
|
state=enabled' | crudini --merge /etc/dnf/modules.d/python36.module
|
|
|