Skip to content

Commit

Permalink
Merge pull request #93 from JulianHn/lsb-cleanup
Browse files Browse the repository at this point in the history
Replace lsb_release call with parsing /etc/os-release
  • Loading branch information
jburel committed Nov 24, 2023
2 parents ea9c4a3 + cdb1765 commit c56436b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis/before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ ! -z ${TRAVIS:-} ] ; then
if ${DOCKER:-false} ; then
echo "Installing Docker"
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(grep -Po 'VERSION_CODENAME=\K.*' /etc/os-release) stable"
sudo apt-get update
sudo apt-get -y install docker-ce
fi
Expand Down

0 comments on commit c56436b

Please sign in to comment.