From 3c90f048ef389b49756c753bf5ea73df9c17499f Mon Sep 17 00:00:00 2001 From: Perflyst Date: Thu, 28 Feb 2019 17:51:33 +0100 Subject: [PATCH] Updated Updating (markdown) --- Updating.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Updating.md b/Updating.md index 0088eb6..cd60d55 100644 --- a/Updating.md +++ b/Updating.md @@ -9,7 +9,7 @@ $ git pull $ latestVersion=$(git describe --tags `git rev-list --tags --max-count=1`) $ git checkout $latestVersion $ for i in `git rev-list --abbrev-commit $currentVersion..HEAD` ; do file=./config/migrate-scripts/migrate-db-$i.sh ; [ -f $file ] && $file ; done -$ shards +$ shards update && shards install $ crystal build src/invidious.cr --release $ exit $ sudo systemctl restart invidious.service @@ -22,7 +22,7 @@ $ cd invidious $ currentVersion=$(git rev-list --max-count=1 --abbrev-commit HEAD) $ git pull $ for i in `git rev-list --abbrev-commit $currentVersion..HEAD` ; do file=./config/migrate-scripts/migrate-db-$i.sh ; [ -f $file ] && $file ; done -$ shards +$ shards update && shards install $ crystal build src/invidious.cr --release $ exit $ sudo systemctl restart invidious.service