Fix typos in upgrade process:

- missing "H" in "FUNKWHALE"
- be consistent on `$FUNKWHALE_VERSION` env var use
This commit is contained in:
JocelynDelalande 2018-06-24 00:50:00 +00:00
parent 7d60155b0f
commit 1ba7781e78
1 changed files with 3 additions and 3 deletions

View File

@ -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