CentOS 8: /var/lib/snapd/snap/bin was not found in your $PATH

That said, this warning really does more harm than good. Suggestions:

  • Get rid of the warning on Fedora and EPEL machines. Perhaps detecting /etc/redhat-release is good enough for that purpose.
  • Ask @chipaca to update the post below and explain that the warning is expected and harmless on recent CentOS, RedHat and Fedora distibutions:
    How to fix snap binaries not found