We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81ebdfe commit 9809ff3Copy full SHA for 9809ff3
ros2-setup/install.bash
@@ -25,11 +25,12 @@ then
25
needs_enabling_universe=false
26
fi
27
else
28
- if ! grep -h ^deb /etc/apt/sources.list 2>/dev/null | grep "${ubuntu_name} (?:[a-z ]*(?:[a-z]+(?: [a-z]+)*)) universe" -q
+ if ! grep -h ^deb /etc/apt/sources.list 2>/dev/null | grep -P "${ubuntu_name}[a-z\-]* (?:[a-z ]*(?:[a-z]+(?: [a-z]+)*)) universe" -q
29
then
30
tue-install-debug "No universe found in the sources.list, going to enable the universe repository"
31
32
tue-install-debug "Universe found in the sources.list, no need to enable it"
33
+ needs_enabling_universe=false
34
35
36
0 commit comments