Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx
edx-platform
Commits
49ed93a4
Commit
49ed93a4
authored
May 31, 2013
by
Slater-Victoroff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed first stage bugs
parent
b2cd6915
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
scripts/create-dev-env.sh
+4
-5
scripts/install-system-req.sh
+2
-2
No files found.
scripts/create-dev-env.sh
View file @
49ed93a4
...
...
@@ -227,10 +227,8 @@ case `uname -s` in
distro
=
`
lsb_release
-cs
`
case
$distro
in
wheezy|jessie|maya|olivia|nadia|natty|precise|quantal|raring
)
sudo
apt-get install git
;;
case
$distro
in
wheezy|jessie|maya|olivia|nadia|natty|precise|quantal|raring
)
sudo
apt-get install git
;;
squeeze|lisa|katya|oneiric|natty
)
warning
"It seems like you're using
$distro
which has been deprecated.
While we don't technically support this release, the install
...
...
@@ -240,6 +238,7 @@ case `uname -s` in
read
dummy
sudo
apt-get install git
;;
*
)
error
"Unsupported distribution -
$distro
"
exit
1
...
...
@@ -287,7 +286,7 @@ esac
clone_repos
# Sanity check to make sure the repo layout hasn't changed
if
[[
-d
$BASE
/edx-platform/scripts]]
;
then
if
[[
-d
$BASE
/edx-platform/scripts
]]
;
then
output
"Installing system-level dependencies"
bash
$BASE
/edx-platform/scripts/install-system-req.sh
else
...
...
scripts/install-system-req.sh
View file @
49ed93a4
...
...
@@ -17,7 +17,7 @@ output() {
### START
SELF_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
REQUIREMENTS_DIR
=
$DIR
/
"
requirements/system"
REQUIREMENTS_DIR
=
"
$SELF_DIR
/../
requirements/system"
BREW_FILE
=
$REQUIREMENTS_DIR
/
"mac_os_x/brew-formulas.txt"
APT_REPOS_FILE
=
$REQUIREMENTS_DIR
/
"ubuntu/apt-repos.txt"
APT_PKGS_FILE
=
$REQUIREMENTS_DIR
/
"ubuntu/apt-packages.txt"
...
...
@@ -78,7 +78,7 @@ EO
# for some reason openssl likes to be installed by itself first
brew install openssl
# brew errors if the package is already installed
for
pkg
in
$(
cat
$BREW_FILE
)
;
do
grep
$pkg
<
(
brew list
)
&>/dev/null
||
{
...
...
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