docs: use $zrepl_apt_repo_file on installation snippet (#783)

(cherry picked from commit 830536715e)
This commit is contained in:
Fermín Olaiz 2024-05-07 19:30:50 -03:00 committed by Christian Schwarz
parent d8d1d25ec2
commit ada7ae4d91

View File

@ -27,7 +27,7 @@ Please open an issue in on GitHub if you encounter any issues with the repositor
ARCH="$(dpkg --print-architecture)"
CODENAME="$(lsb_release -i -s | tr '[:upper:]' '[:lower:]') $(lsb_release -c -s | tr '[:upper:]' '[:lower:]')"
echo "Using Distro and Codename: $CODENAME"
echo "deb [arch=$ARCH signed-by=$zrepl_apt_key_dst] https://zrepl.cschwarz.com/apt/$CODENAME main" | sudo tee /etc/apt/sources.list.d/zrepl.list
echo "deb [arch=$ARCH signed-by=$zrepl_apt_key_dst] https://zrepl.cschwarz.com/apt/$CODENAME main" | sudo tee "$zrepl_apt_repo_file" > /dev/null
# Update apt repos.
sudo apt update