From b6b388d3f151606c313a0703ef80bb54479418b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Thu, 7 Jul 2022 12:01:51 +0000 Subject: [PATCH] Use lsb_release on Debian-based distros --- guides/Linux.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/Linux.md b/guides/Linux.md index c87c2ac5a..1c6df39e8 100644 --- a/guides/Linux.md +++ b/guides/Linux.md @@ -12,7 +12,7 @@ ```sh wget -qO- https://dl.packager.io/srv/pghero/pghero/key | sudo apt-key add - sudo wget -O /etc/apt/sources.list.d/pghero.list \ - https://dl.packager.io/srv/pghero/pghero/master/installer/ubuntu/$(. /etc/os-release && echo $VERSION_ID).repo + https://dl.packager.io/srv/pghero/pghero/master/installer/ubuntu/$(lsb_release -s -r).repo sudo apt-get update sudo apt-get -y install pghero ``` @@ -25,7 +25,7 @@ Supports Ubuntu 22.04 (Jammy), 20.04 (Focal), 18.04 (Bionic), and 16.04 (Xenial) sudo apt-get -y install apt-transport-https wget -qO- https://dl.packager.io/srv/pghero/pghero/key | sudo apt-key add - sudo wget -O /etc/apt/sources.list.d/pghero.list \ - https://dl.packager.io/srv/pghero/pghero/master/installer/debian/$(. /etc/os-release && echo $VERSION_ID).repo + https://dl.packager.io/srv/pghero/pghero/master/installer/debian/$(lsb_release -s -r).repo sudo apt-get update sudo apt-get -y install pghero ```