From e2d1f712ef3771f5a75e9cb6a02fc4d10a5790a6 Mon Sep 17 00:00:00 2001 From: Ilia Rostovtsev Date: Wed, 17 Jun 2020 14:24:38 +0300 Subject: [PATCH] Fix to make sure that `dnf config-manager` is actually there What?? Yeah, this is so dumb but somethies core plugins are missing https://github.com/virtualmin/virtualmin-install/issues/36 --- virtualmin-install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/virtualmin-install.sh b/virtualmin-install.sh index c1ffd2e..296ad00 100644 --- a/virtualmin-install.sh +++ b/virtualmin-install.sh @@ -650,6 +650,9 @@ install_virtualmin_release () { install_cmd="dnf" install_group="dnf -y --quiet group install --setopt=group_package_types=mandatory,default" install_config_manager="dnf config-manager" + if ! $install_config_manager 1>/dev/null 2>&1; then + run_ok "$install dnf-plugins-core" + fi else install="/usr/bin/yum -y install" install_cmd="/usr/bin/yum"