From f33a917af2704c83a63b6893b4b8a2ba41e5cb6c Mon Sep 17 00:00:00 2001 From: Leonard Gram Date: Thu, 19 Dec 2019 15:48:16 +0100 Subject: [PATCH] Docs: fix ordering of apt setup (#21192) --- docs/sources/installation/debian.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/sources/installation/debian.md b/docs/sources/installation/debian.md index 5bfe1073304..7771b983e40 100644 --- a/docs/sources/installation/debian.md +++ b/docs/sources/installation/debian.md @@ -37,6 +37,12 @@ Install any missing dependencies: sudo apt-get install -y software-properties-common wget ``` +Add our GPG key to install signed packages: + +```bash +wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add - +``` + Add this repository for stable releases: ```bash @@ -49,12 +55,6 @@ Add this repository if you want beta releases: sudo add-apt-repository "deb https://packages.grafana.com/oss/deb beta main" ``` -Add our GPG key to install signed packages: - -```bash -wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add - -``` - Update your APT repositories and install Grafana: ```bash