From 1ba7781e788f9da5050ab31078d5918bc9a8b071 Mon Sep 17 00:00:00 2001
From: JocelynDelalande <jocelyn@crapouillou.net>
Date: Sun, 24 Jun 2018 00:50:00 +0000
Subject: [PATCH] Fix typos in upgrade process:

- missing "H" in "FUNKWHALE"
- be consistent on `$FUNKWHALE_VERSION` env var use
---
 docs/upgrading.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/upgrading.rst b/docs/upgrading.rst
index ed455aa8..85a2b505 100644
--- a/docs/upgrading.rst
+++ b/docs/upgrading.rst
@@ -77,12 +77,12 @@ match what is described in :doc:`debian`:
 .. parsed-literal::
 
     # this assumes you want to upgrade to version "|version|"
-    export FUNKWALE_VERSION="|version|"
+    export FUNKWHALE_VERSION="|version|"
     cd /srv/funkwhale
 
     # download more recent API files
-    sudo -u funkwhale curl -L -o "api-|version|.zip" "https://code.eliotberriot.com/funkwhale/funkwhale/-/jobs/artifacts/$FUNKWALE_VERSION/download?job=build_api"
-    sudo -u funkwhale unzip "api-$FUNKWALE_VERSION.zip" -d extracted
+    sudo -u funkwhale curl -L -o "api-$FUNKWHALE_VERSION.zip" "https://code.eliotberriot.com/funkwhale/funkwhale/-/jobs/artifacts/$FUNKWHALE_VERSION/download?job=build_api"
+    sudo -u funkwhale unzip "api-$FUNKWHALE_VERSION.zip" -d extracted
     sudo -u funkwhale rm -rf api/ && mv extracted/api .
     sudo -u funkwhale rm -rf extracted
 
-- 
GitLab