force running scripts in bash, as it's not the default shell on Ubuntu (which is what Travis runs)
This commit is contained in:
parent
ebc9859cce
commit
20becf8735
8 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
# run with PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true sh install.sh if chrome is already installed
|
||||
sh synapse/install.sh
|
||||
sh riot/install.sh
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
#!/bin/bash
|
||||
RIOT_BRANCH=master
|
||||
|
||||
BASE_DIR=$(readlink -f $(dirname $0))
|
||||
if [[ -d $BASE_DIR/riot-web ]]; then
|
||||
if [ -d $BASE_DIR/riot-web ]; then
|
||||
echo "riot is already installed"
|
||||
exit
|
||||
fi
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
PORT=8080
|
||||
echo "running riot on http://localhost:$PORT..."
|
||||
BASE_DIR=$(readlink -f $(dirname $0))
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
BASE_DIR=$(readlink -f $(dirname $0))
|
||||
cd $BASE_DIR
|
||||
PIDFILE=riot.pid
|
||||
|
|
1
run.sh
1
run.sh
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
sh synapse/start.sh
|
||||
sh riot/start.sh
|
||||
node start.js
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
# config
|
||||
SYNAPSE_BRANCH=master
|
||||
INSTALLATION_NAME=consent
|
||||
|
@ -7,7 +8,7 @@ PORT=8008
|
|||
# set current directory to script directory
|
||||
BASE_DIR=$(readlink -f $(dirname $0))
|
||||
|
||||
if [[ -d $BASE_DIR/$SERVER_DIR ]]; then
|
||||
if [ -d $BASE_DIR/$SERVER_DIR ]; then
|
||||
echo "synapse is already installed"
|
||||
exit
|
||||
fi
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
BASE_DIR=$(readlink -f $(dirname $0))
|
||||
cd $BASE_DIR
|
||||
cd installations/consent
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
BASE_DIR=$(readlink -f $(dirname $0))
|
||||
cd $BASE_DIR
|
||||
cd installations/consent
|
||||
|
|
Loading…
Reference in a new issue