Browse Source

Fix repo file creation

bryan 4 months ago
parent
commit
a03cd1bc84
1 changed files with 1 additions and 1 deletions
  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!"