Commit 8b949e73 authored by Jozef Sroka's avatar Jozef Sroka
Browse files

Do OS-Update for Redhat family - add CentOS7 yum

parent c1535d34
......@@ -291,7 +291,7 @@ class software_update_plugin {
//** Redhat, CentOS, Fedora
if(file_exists('/etc/redhat-release')) {
exec("dnf -y update");
exec("which dnf &> /dev/null && dnf -y update || yum -y update");
}
//** Gentoo Linux
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment