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
edx
configuration
Commits
c0ced9b1
Commit
c0ced9b1
authored
Jan 11, 2017
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use trap EXIT to ensure printing the finish line
parent
88d65e3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
util/install/install_stack.sh
+5
-1
No files found.
util/install/install_stack.sh
View file @
c0ced9b1
...
...
@@ -140,6 +140,11 @@ exec > >(tee $log_file) 2>&1
echo
"Capturing output to
$log_file
"
echo
"Installation started at
$(
date
'+%Y-%m-%d %H:%M:%S'
)
"
function
finish
{
echo
"Installation finished at
$(
date
'+%Y-%m-%d %H:%M:%S'
)
"
}
trap
finish EXIT
export
OPENEDX_RELEASE
=
$release
echo
"Installing release '
$OPENEDX_RELEASE
'"
...
...
@@ -192,6 +197,5 @@ else
sudo
bash
-c
"echo '192.168.33.10 preview.localhost' >> /etc/hosts"
fi
echo
"Installation finished at
$(
date
'+%Y-%m-%d %H:%M:%S'
)
"
echo
-e
"
${
SUCCESS
}
Finished installing! You may now log in using 'vagrant ssh'"
echo
-e
"Refer to the edX wiki (
$wiki_link
) for more information on using
$stack
.
${
NC
}
"
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