Quiet universe repo add on *buntu

This commit is contained in:
2022-01-13 23:50:29 -05:00
parent 4e0f3cfc8f
commit d5dad17f3e

View File

@@ -1440,9 +1440,9 @@ main() {
getOS getOS
# Some distros need external repos installed for MC libraries # Some distros need external repos installed for MC libraries
if [[ "$ID" =~ (ubuntu) ]]; then if [[ "$ID" == "ubuntu" ]]; then
echo "Adding universe repository"
if ! grep ^deb /etc/apt/sources.list|grep -q universe; then if ! grep ^deb /etc/apt/sources.list|grep -q universe; then
echo "Adding universe repository"
sudo add-apt-repository universe sudo add-apt-repository universe
fi fi
elif [[ "$ID" == "centos" ]]; then elif [[ "$ID" == "centos" ]]; then