From d5dad17f3ebff28bce1df8ba28b67da980cdaa83 Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 13 Jan 2022 23:50:29 -0500 Subject: [PATCH] Quiet universe repo add on *buntu --- installJRMC | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installJRMC b/installJRMC index c7bb91c..e97733b 100755 --- a/installJRMC +++ b/installJRMC @@ -1440,9 +1440,9 @@ main() { getOS # Some distros need external repos installed for MC libraries - if [[ "$ID" =~ (ubuntu) ]]; then - echo "Adding universe repository" + if [[ "$ID" == "ubuntu" ]]; then if ! grep ^deb /etc/apt/sources.list|grep -q universe; then + echo "Adding universe repository" sudo add-apt-repository universe fi elif [[ "$ID" == "centos" ]]; then