Skip to content

Commit 62e3fc4

Browse files
use dot instead of tilde on download url (#5682)
--- It appears that when saving artifacts with tilde to github releases, the tilde gets converted to a dot most likely due to url restrictions.
1 parent f66144b commit 62e3fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Installation/_Apt-Repositories.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ Updates to repository configuration will occur automatically when new versions o
1616
1717
$ sudo apt update && sudo apt install curl -y
1818
$ export ROS_APT_SOURCE_VERSION=$(curl -s https://api.github.com/repos/ros-infrastructure/ros-apt-source/releases/latest | grep -F "tag_name" | awk -F\" '{print $4}')
19-
$ curl -o /tmp/ros2-apt-source.deb "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-apt-source_${ROS_APT_SOURCE_VERSION}~$(. /etc/os-release && echo $VERSION_CODENAME)_all.deb" # If using Ubuntu derivates use $UBUNTU_CODENAME
19+
$ curl -o /tmp/ros2-apt-source.deb "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-apt-source_${ROS_APT_SOURCE_VERSION}.$(. /etc/os-release && echo $VERSION_CODENAME)_all.deb" # If using Ubuntu derivates use $UBUNTU_CODENAME
2020
$ sudo apt install /tmp/ros2-apt-source.deb

0 commit comments

Comments
 (0)