소스 검색

Fix repo file creation

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!"