Skip to content

Commit

Permalink
.travis.sh: Debian/buster (10) also need to use archive.debian.org
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Apr 16, 2024
1 parent 25a473c commit 64c2597
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
sed -i [email protected]/[email protected]/debian-security@ /etc/apt/sources.list
sed -i '/-updates/ s/^#*/#/' /etc/apt/sources.list
fi
if [[ "$DOCKER_IMAGE" == *"buster" ]] ; then
cat /etc/apt/sources.list
sed -i [email protected]/debian [email protected]/debian buster@ /etc/apt/sources.list;
sed -i '/-updates/ s/^#*/#/' /etc/apt/sources.list
cat /etc/apt/sources.list
fi
if [ ! -e /usr/bin/sudo ] ; then apt-get update && apt-get install -y sudo; else sudo apt-get update; fi
travis_time_end

Expand Down

0 comments on commit 64c2597

Please sign in to comment.