Previously this was very complicated trying to flip between Ruby and bash. This commit uses a single bash command that decides between yum and dnf in the script itself.