Merge branch 'patch-1' into 'develop'

Fix typos in upgrade process:

See merge request funkwhale/funkwhale!271
This commit is contained in:
Eliot Berriot 2018-06-24 10:32:20 +00:00
commit a65efe40b4
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