|
|
@ -201,3 +201,21 @@ EOF |
|
|
|
echo "DEFAULT_COMPOSE_FILE=/etc/compose/compose.yml" >> /etc/compose/local.conf |
|
|
|
|
|
|
|
|
|
|
|
## |
|
|
|
## Install pgm |
|
|
|
## |
|
|
|
|
|
|
|
|
|
|
|
( |
|
|
|
if ! [ -d "/opt/apps/0k-pgm" ]; then |
|
|
|
cd /opt/apps && |
|
|
|
git clone $GIT_0K_CLONE_OPTIONS "$GIT_0K_BASE/0k/0k-pgm.git" && |
|
|
|
cd /opt/apps/0k-pgm && |
|
|
|
git checkout master |
|
|
|
fi |
|
|
|
|
|
|
|
ln -sf /opt/apps/0k-pgm/bin/* /usr/local/bin/ |
|
|
|
apt-get install -y --force-yes pv buffer < /dev/null |
|
|
|
require psql || apt-get install -y postgresql-client </dev/null |
|
|
|
|
|
|
|
) |