Procházet zdrojové kódy

Quiet universe repo add on *buntu

bryan před 3 roky
rodič
revize
d5dad17f3e
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      installJRMC

+ 2 - 2
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