diff --git a/drake_bazel_external/setup/install_prereqs b/drake_bazel_external/setup/install_prereqs index 20ba6acc..bf666588 100755 --- a/drake_bazel_external/setup/install_prereqs +++ b/drake_bazel_external/setup/install_prereqs @@ -31,20 +31,6 @@ set -euxo pipefail -ros_humble=0 - -while [ "${1:-}" != "" ]; do - case "$1" in - --ros-humble) - ros_humble=1 - ;; - *) - echo 'Invalid command line argument' >&2 - exit 1 - esac - shift -done - if [[ "${EUID:-}" -ne 0 ]]; then echo 'This script must be run as root' >&2 exit 2 @@ -59,91 +45,14 @@ if [[ "$(lsb_release -sc)" != 'jammy' ]]; then fi apt-get install --no-install-recommends $(cat < /etc/apt/sources.list.d/bazel.list - -apt-get update -apt-get install --no-install-recommends $(cat < /etc/apt/sources.list.d/ros2-latest.list - - apt-get update - apt-get install --no-install-recommends $(cat <&2 - exit 1 - esac - shift -done - if [[ "${EUID:-}" -ne 0 ]]; then echo 'This script must be run as root' >&2 exit 2 @@ -59,91 +45,16 @@ if [[ "$(lsb_release -sc)" != 'jammy' ]]; then fi apt-get install --no-install-recommends $(cat < /etc/apt/sources.list.d/bazel.list - -apt-get update -apt-get install --no-install-recommends $(cat < /etc/apt/sources.list.d/ros2-latest.list - apt-get update - apt-get install --no-install-recommends $(cat <