#!/bin/bash
# Macroscop Repository

sudo echo "[macroscop-packages]
name=Macroscop Packages
baseurl=https://packages.macroscop.com/rpm/rosa/chrome
enabled=1
gpgcheck=1
gpgkey=https://packages.macroscop.com/rpm/macroscop.gpg.key" | sudo tee /etc/yum.repos.d/macroscop.repo > /dev/null

echo "[nginx]
name=nginx repo
baseurl=https://nginx.org/packages/rhel/8/x86_64/
gpgcheck=0
enabled=1
priority=11" | sudo tee /etc/yum.repos.d/nginx.repo > /dev/null

sudo yum clean all

echo "Success!"
