Commit b057e58b authored by dosire's avatar dosire

Reword upgrade -y comment, improve layout and allow just y.

parent 68590fdd
......@@ -19,11 +19,9 @@ __GitLab Upgrader is available only for version 6.4.2 or higher__
cd /home/git/gitlab
sudo -u git -H ruby script/upgrade.rb
# it also supports -y option to avouid user input
# to perform a non-interactive install (no user input required) you can add -y
# sudo -u git -H ruby script/upgrade.rb -y
### 3. Start application
sudo service gitlab start
......
......@@ -17,7 +17,7 @@ module Gitlab
prompt("Do you want to upgrade (yes/no)? ", %w{yes no})
end
if answer == "yes"
if answer == "yes" || answer == "y"
upgrade
else
exit 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment