From: Chocobozzz Date: Tue, 16 Jan 2018 07:53:01 +0000 (+0100) Subject: Fix upgrade command X-Git-Tag: v0.0.12-alpha~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=48cf691d5edd264930decf6a95b867c82a0e2c50;p=oweals%2Fpeertube.git Fix upgrade command --- diff --git a/support/doc/production.md b/support/doc/production.md index af137fe9a..7db12bb57 100644 --- a/support/doc/production.md +++ b/support/doc/production.md @@ -229,7 +229,7 @@ $ VERSION=$(curl -s https://api.github.com/repos/chocobozzz/peertube/releases/la cd /home/peertube/versions && \ sudo -u peertube wget "https://github.com/Chocobozzz/PeerTube/releases/download/${VERSION}/peertube-${VERSION}.zip" && \ sudo -u peertube unzip peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip && \ - cd ../ && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest && \ + cd ../ && sudo rm ./peertube-latest && sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest && \ cd ./peertube-latest && sudo -u peertube yarn install --production --pure-lockfile && \ sudo systemctl restart peertube ```