#!/usr/bin/bash # Redirect to dnf5 if we are running inside a container if systemd-detect-virt -cq || { [[ -e /run/.containerenv || -e /.dockerenv ]]; }; then exec dnf5 "$@" fi echo -e "Looks like you are trying to use yum on EveOS, please read our documentation here\nhttps://arx-ccn.com/eveos/dnf" exit 1