diff options
author | SVNET Libre <svnet@brique.svnet.fr> | 2018-02-21 17:16:52 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-21 17:16:52 +0100 |
commit | 34333925d256c566f6f0a35eb511d28d5fa6cf84 (patch) | |
tree | b08bba407f2a32766f23c347d023350fe71a2c87 | |
parent | 40aa7157e20446f1438e02e4aef69623d3b684f4 (diff) | |
download | PeerTube-34333925d256c566f6f0a35eb511d28d5fa6cf84.tar.gz PeerTube-34333925d256c566f6f0a35eb511d28d5fa6cf84.tar.zst PeerTube-34333925d256c566f6f0a35eb511d28d5fa6cf84.zip |
Upgrade.sh : Add diff command for config update (#308)
* Add diff command for config update
* Add Context Information
"Updating Configuration File..."
* Modify context information for the config file
-rwxr-xr-x | scripts/upgrade.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index e7c34a6b4..9baf50932 100755 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh | |||
@@ -23,4 +23,7 @@ cd /var/www/peertube/peertube-latest | |||
23 | yarn install --production --pure-lockfile | 23 | yarn install --production --pure-lockfile |
24 | cp /var/www/peertube/peertube-latest/config/default.yaml /var/www/peertube/config/default.yaml | 24 | cp /var/www/peertube/peertube-latest/config/default.yaml /var/www/peertube/config/default.yaml |
25 | 25 | ||
26 | echo "Differences in configuration files..." | ||
27 | diff /var/www/peertube/versions/peertube-${VERSION}/config/production.yaml.example /var/www/peertube/config/production.yaml | ||
28 | |||
26 | exit 0 | 29 | exit 0 |