Skip to content

Commit 8305367

Browse files
authored
docs: use $zrepl_apt_repo_file on installation snippet (#783)
1 parent ebc46cf commit 8305367

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/installation/apt-repos.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Please open an issue in on GitHub if you encounter any issues with the repositor
2727
ARCH="$(dpkg --print-architecture)"
2828
CODENAME="$(lsb_release -i -s | tr '[:upper:]' '[:lower:]') $(lsb_release -c -s | tr '[:upper:]' '[:lower:]')"
2929
echo "Using Distro and Codename: $CODENAME"
30-
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
30+
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
3131

3232
# Update apt repos.
3333
sudo apt update

0 commit comments

Comments
 (0)