Update public-yum-downloader.sh

fixed logic for non oracle/redhat OS (ie ubuntu)