mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-22 00:13:52 +01:00
docs: use $zrepl_apt_repo_file on installation snippet (#783)
This commit is contained in:
parent
ebc46cf1c0
commit
830536715e
@ -27,7 +27,7 @@ Please open an issue in on GitHub if you encounter any issues with the repositor
|
|||||||
ARCH="$(dpkg --print-architecture)"
|
ARCH="$(dpkg --print-architecture)"
|
||||||
CODENAME="$(lsb_release -i -s | tr '[:upper:]' '[:lower:]') $(lsb_release -c -s | tr '[:upper:]' '[:lower:]')"
|
CODENAME="$(lsb_release -i -s | tr '[:upper:]' '[:lower:]') $(lsb_release -c -s | tr '[:upper:]' '[:lower:]')"
|
||||||
echo "Using Distro and Codename: $CODENAME"
|
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.
|
# Update apt repos.
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
Loading…
Reference in New Issue
Block a user