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__ ...@@ -19,11 +19,9 @@ __GitLab Upgrader is available only for version 6.4.2 or higher__
cd /home/git/gitlab cd /home/git/gitlab
sudo -u git -H ruby script/upgrade.rb sudo -u git -H ruby script/upgrade.rb
# to perform a non-interactive install (no user input required) you can add -y
# it also supports -y option to avouid user input
# sudo -u git -H ruby script/upgrade.rb -y # sudo -u git -H ruby script/upgrade.rb -y
### 3. Start application ### 3. Start application
sudo service gitlab start sudo service gitlab start
......
...@@ -17,7 +17,7 @@ module Gitlab ...@@ -17,7 +17,7 @@ module Gitlab
prompt("Do you want to upgrade (yes/no)? ", %w{yes no}) prompt("Do you want to upgrade (yes/no)? ", %w{yes no})
end end
if answer == "yes" if answer == "yes" || answer == "y"
upgrade upgrade
else else
exit 0 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