Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
b057e58b
Commit
b057e58b
authored
Jan 23, 2014
by
dosire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reword upgrade -y comment, improve layout and allow just y.
parent
68590fdd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
doc/update/upgrader.md
doc/update/upgrader.md
+1
-3
lib/gitlab/upgrader.rb
lib/gitlab/upgrader.rb
+1
-1
No files found.
doc/update/upgrader.md
View file @
b057e58b
...
...
@@ -19,10 +19,8 @@ __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
...
...
lib/gitlab/upgrader.rb
View file @
b057e58b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment