Skip to content

Commit

Permalink
fix(setup-dev-env.sh): disable inactive apt repository
Browse files Browse the repository at this point in the history
Signed-off-by: Manato HIRABAYASHI <[email protected]>
  • Loading branch information
manato committed Apr 24, 2023
1 parent 99ae26b commit 869b821
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup-dev-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ if ! (command -v sudo >/dev/null 2>&1); then
apt-get -y install sudo
fi

# Disable inactive apt repository
DISABLE_TARGET="/etc/apt/sources.list.d/roscube.list"
if [ -e ${DISABLE_TARGET} ]; then
sudo sed -i 's/.*neuron\.adlinktech\.com.*/# &/g' ${DISABLE_TARGET}
fi

# Install git
if ! (command -v git >/dev/null 2>&1); then
sudo apt-get -y update
Expand Down

0 comments on commit 869b821

Please sign in to comment.