From 6ecdb11b3f87d7ad9e258eab367804716d018d59 Mon Sep 17 00:00:00 2001 From: MohammadReza Tayyebi Date: Mon, 11 Nov 2024 16:06:53 +0330 Subject: [PATCH] Dynamically get distro from machine --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 158875d..7e60a3b 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,6 @@ This project is a Debian repository hosted on GitHub Pages. ### Official Repository -NOTE: Replace `$YOUR_DISTRIBUTION` with your distribution code (`stable`/`unstable`/`focal`/`groovy`...) below. - ```bash # Install some prerequisites needed by adding GPG public keys $ sudo apt-get install gnupg ca-certificates curl @@ -23,7 +21,7 @@ $ sudo apt-get install gnupg ca-certificates curl $ curl -sSL https://qv2ray.net/debian/pubkey.gpg | sudo apt-key add - # Add the our official APT repository: -$ echo "deb [arch=amd64] https://qv2ray.net/debian/ $YOUR_DISTRIBUTION main" | sudo tee /etc/apt/sources.list.d/qv2ray.list +$ echo "deb [arch=amd64] https://qv2ray.net/debian/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/qv2ray.list # To update the APT index: $ sudo apt-get update