Skip to content

Commit

Permalink
fix focal
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushikpuneet07 committed Jun 9, 2024
1 parent ff42d6c commit 54f60f8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions proxysql/build-binary-proxysql
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ if [ -f /usr/bin/yum ]; then
fi
elif [ -f /usr/bin/apt ]; then
DEBIAN_VERSION=$(lsb_release -sc)
if [ ${DEBIAN_VERSION} = "stretch" ]; then
sudo sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list
sudo sed -i 's|security.debian.org|archive.debian.org|g' /etc/apt/sources.list
sudo sed -i '/stretch-updates/d' /etc/apt/sources.list
sudo apt-get -y update
if [ ${DEBIAN_VERSION} = "focal" ]; then
sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:some/ppa
sudo apt-get update
sudo apt-get install -y uuid-dev
else
sudo apt-get install -y uuid-dev
Expand Down

0 comments on commit 54f60f8

Please sign in to comment.