| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
With the instance creation script, one ends up without the two extra
levels expected by the original installation script, so strip the extra
dirs from these templates.
NOTE: Applying this patch to the master or v0.9 branches would break the
install script. The Debian packaging should probably apply this patch at
build time instead.
Signed-off-by: Cyril Brulebois <cyril@debamax.com>
|
|
The detail in migration was a dirty hack before migration merge.
|
|
set -e makes the shell error out whenever an unguarded command reports a
failure, instead of blindly executing everything in turn.
set -x ensures one knows which commands are being run/attempted.
XXX: At least in v0.9, two commands are failing, hence the two
occurrences of "|| true".
|
|
This makes it possible for admins or packagers to bypass automatic
dependency installation using apt-get and pip.
Example:
APT_GET='echo -- apt-get' PIP='echo -- pip' install/install.sh
|
|
|
|
Since a comment insisted on this topic, make sure to add a trailing
slash if that variable wasn't set properly.
This means adjusting the templates in addition to the main script. A
slash is kept as a separator in those to keep them readable, which
explains the slightly awkward (uwsgi and nginx) sed calls.
|
|
|
|
Setting CDIR to the directory containing install.sh makes it possible to
run it as install/install.sh from the top-level directory.
Calling readlink -f on it makes sure one gets the canonical location, so
that cd-ing to various places doesn't interfere with finding appropriate
files (relatively to CDIR) afterwards.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Conflicts:
install/install.sh
|
|
|