소스 검색

Check legacy sources for universe

bryan 2 일 전
부모
커밋
395006f338
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      installJRMC

+ 1 - 1
installJRMC

@@ -538,7 +538,7 @@ install_external_repos() {
 
   case $ID in
     ubuntu)
-      if ! grep -E '^deb|^Components' /etc/apt/sources.list.d/* | grep -q universe; then
+      if ! grep -E '^deb|^Components' /etc/apt/sources.list /etc/apt/sources.list.d/* | grep -q universe; then
         echo "Adding universe repository"
         if ! execute sudo add-apt-repository -y universe; then
           err "Adding universe repository failed"