Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
167137db
Commit
167137db
authored
Dec 17, 2015
by
Edward Zarecor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trusty fix.
parent
dd866924
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
util/install/ansible-bootstrap.sh
+10
-2
No files found.
util/install/ansible-bootstrap.sh
View file @
167137db
...
...
@@ -59,12 +59,18 @@ CONFIGURATION_VERSION="${CONFIGURATION_VERSION}"
EOF
if
[[
$(
id
-u
)
-ne
0
]]
;
then
if
[[
$(
id
-u
)
-ne
0
]]
;
then
echo
"Please run as root"
;
exit
1
;
fi
if
!
grep
-q
-e
'Precise Pangolin'
-e
'Trusty Tahr'
/etc/os-release
;
then
if
grep
-q
'Precise Pangolin'
then
SHORT_DIST
=
"precise"
elif
grep
-q
'Trusty Tahr'
/etc/os-release
then
SHORT_DIST
=
"trusty"
else
cat
<<
EOF
This script is only known to work on Ubuntu Precise and Trusty,
...
...
@@ -75,6 +81,8 @@ EOF
exit
1
;
fi
EDX_PPA
=
"deb http://ppa.edx.org
${
SHORT_DIST
}
main"
# Upgrade the OS
apt-get update
-y
apt-key update
-y
...
...
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