Skip to content

Commit

Permalink
Fix to make sure that dnf config-manager is actually there
Browse files Browse the repository at this point in the history
What?? Yeah, this is so dumb but somethies core plugins are missing
#36
  • Loading branch information
iliajie committed Jun 17, 2020
1 parent c473b7f commit e2d1f71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions virtualmin-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e2d1f71

Please sign in to comment.