Explorar el Código

Fix repo file creation

bryan hace 5 meses
padre
commit
a03cd1bc84
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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!"