Commit 379299ad18c28bb8b6f0ea52c5086193bb1d0e96
1 parent
660585ca
Exists in
spb-stable
and in
2 other branches
Add bash one liner in updater doc due to change of updater location.
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
doc/update/upgrader.md
| ... | ... | @@ -18,11 +18,12 @@ __GitLab Upgrader is available only for GitLab version 6.4.2 or higher__ |
| 18 | 18 | |
| 19 | 19 | ### 2. Run gitlab upgrade tool |
| 20 | 20 | |
| 21 | + # Starting with GitLab version 7.0 upgrader script has been moved to bin directory | |
| 21 | 22 | cd /home/git/gitlab |
| 22 | - sudo -u git -H ruby bin/upgrade.rb | |
| 23 | + if [ -f bin/upgrade.rb ]; then sudo -u git -H ruby bin/upgrade.rb; else sudo -u git -H ruby script/upgrade.rb; fi | |
| 23 | 24 | |
| 24 | 25 | # to perform a non-interactive install (no user input required) you can add -y |
| 25 | - # sudo -u git -H ruby bin/upgrade.rb -y | |
| 26 | + # 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 | |
| 26 | 27 | |
| 27 | 28 | ### 3. Start application |
| 28 | 29 | ... | ... |