bryan пре 5 месеци
родитељ
комит
a03cd1bc84
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      installJRMC

+ 1 - 1
installJRMC

@@ -651,7 +651,7 @@ install_mc_repo() {
   esac
 
   echo "Adding MC repository file: $repo_file"
-  sudo tee "$repo_file" &>/dev/null <<< "$repo_text"
+  echo "$repo_text" | sudo tee "$repo_file" &>/dev/null
 
   if ! "${PKG_UPDATE[@]}"; then
     err "Package update failed!"