Check legacy sources for universe

This commit is contained in:
2025-04-24 21:34:16 -04:00
父節點 491fc5388c
當前提交 395006f338

查看文件

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