]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - scripts/upgrade.sh
Update bittorrent-tracker and standard to v9
[github/Chocobozzz/PeerTube.git] / scripts / upgrade.sh
CommitLineData
9f540774
C
1#!/usr/bin/env sh
2
3
4git pull origin $(git rev-parse --abbrev-ref HEAD) || exit -1
5
d16a0ad8 6if pgrep peertube > /dev/null; then
9f540774
C
7 echo 'PeerTube is running!'
8 exit 0
9fi
10
11npm install
12npm update
13cd client && npm update && cd ../
14npm run build
15
16echo "\n\nUpgrade finished! You can restart PeerTube that may run the migration scripts."