Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-06-02 11:39:43 +0400
committerMarin Jankovski <marin@gitlab.com>2014-06-02 11:39:43 +0400
commit379299ad18c28bb8b6f0ea52c5086193bb1d0e96 (patch)
tree1b1484b246c80cb0631d0e6b18db641b7ac3a734 /doc
parent660585caa41002d9cfbe51842aaa6602b8de2895 (diff)
Add bash one liner in updater doc due to change of updater location.
Diffstat (limited to 'doc')
-rw-r--r--doc/update/upgrader.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/update/upgrader.md b/doc/update/upgrader.md
index b3947fa2deb..c8cfd4f92b1 100644
--- a/doc/update/upgrader.md
+++ b/doc/update/upgrader.md
@@ -18,11 +18,12 @@ __GitLab Upgrader is available only for GitLab version 6.4.2 or higher__
### 2. Run gitlab upgrade tool
+ # Starting with GitLab version 7.0 upgrader script has been moved to bin directory
cd /home/git/gitlab
- sudo -u git -H ruby bin/upgrade.rb
+ if [ -f bin/upgrade.rb ]; then sudo -u git -H ruby bin/upgrade.rb; else sudo -u git -H ruby script/upgrade.rb; fi
# to perform a non-interactive install (no user input required) you can add -y
- # sudo -u git -H ruby bin/upgrade.rb -y
+ # if [ -f bin/upgrade.rb ]; then sudo -u git -H ruby bin/upgrade.rb -y; else sudo -u git -H ruby script/upgrade.rb -y; fi
### 3. Start application