Skip to content

Commit

Permalink
feat: support ubuntu24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
fishros committed Apr 16, 2024
1 parent de791b0 commit fbd739b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ source /etc/profile
# sudo rm /var/cache/apt/archives/lock
# sudo rm /var/lib/dpkg/lock
# sudo rm /var/lib/dpkg/lock-frontend
sudo apt install python3-distro python3-yaml -y
if [ $UID -eq 0 ];then
apt-get install sudo
fi
sudo apt install python3-distro python3-yaml -y
sudo python3 /tmp/fishinstall/install.py
sudo rm -rf /tmp/fishinstall/
sudo rm fishros
Expand Down
2 changes: 1 addition & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def main():
__.' ~. .~ `.__
.'// 开卷有益 \./ 书山有路 \\ `.
.'// 可以多看看小鱼的文章 | 关注公众号鱼香ROS \\ `.
.'// .-~"""""""~~~~-._ | _,-~~~~"""""""~-. \\`.
.'// .-~'''''''''~~~~-._ | _,-~~~~'''''''[-. \\`.
.'//.-" `-. | .-' "-.\\`.
.'//______.============-.. \ | / ..-============.______\\`.
.'______________________________\|/______________________________`
Expand Down
1 change: 1 addition & 0 deletions tools/tool_config_system_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
'focal':{"tsinghua","huawei","packages.ros"},
'jessie':{"tsinghua","huawei"},
'jammy':{"packages.ros"},
'noble':{"packages.ros"},
'stretch':{"tsinghua","huawei","packages.ros"},
'trusty':{"tsinghua","huawei"},
'xenial':{"tsinghua","huawei","packages.ros"},
Expand Down
1 change: 1 addition & 0 deletions tools/tool_install_ros.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def get_desktop_version(name):
'focal':{"tsinghua","huawei","packages.ros","https.packages.ros"},
'jessie':{"tsinghua","huawei"},
'jammy':{"tsinghua","huawei","packages.ros","https.packages.ros"},
'noble':{"tsinghua","huawei","packages.ros","https.packages.ros"},
'stretch':{"tsinghua","huawei","packages.ros","https.packages.ros"},
'trusty':{"tsinghua","huawei"},
'xenial':{"tsinghua","huawei","packages.ros","https.packages.ros"},
Expand Down

0 comments on commit fbd739b

Please sign in to comment.