
#yum4reyware
#set up reyware repos on yum (centos/redhat/fedora) system
#dave allen 11feb22
#16feb22 install beta too, as it's not enabled
#17aug24 add newest gpg key

case $(whoami) in
	root) echo running as root;;
	*) echo "Sorry. must be run as root";;
	esac

cd /etc/yum.repos.d || exit
wget -qN https://reyware.us/reyware.repo
wget -qN https://reyware.us/reyware-beta.repo

cd /etc/pki/rpm-gpg || exit
wget -qN https://reyware.us/RPM-GPG-KEY-Reyware
wget -qN https://reyware.us/RPM-GPG-KEY-ReywareLLC
wget -qN https://reyware.us/RPM-GPG-KEY-ReywareLLC2024
gpg --import RPM-GPG-KEY-Reyware
gpg --import RPM-GPG-KEY-ReywareLLC
gpg --import RPM-GPG-KEY-ReywareLLC2024

echo "to install the beta version, yum --enablerepo reyware-beta install amb-ux"

