Update-TASTE.sh 656 Bytes
Newer Older
1
#!/bin/bash
2 3 4
git pull || exit 1
git submodule init || exit 1
git submodule update || exit 1
5
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
6
export DISABLE_TASTE_BANNER=1
7
for INSTALL_SCRIPT in install/[0-9]*sh ; do
8 9 10 11 12 13
    if [ ! -z "${TASTE_IN_DOCKER}" ] ; then
        if [ "${INSTALL_SCRIPT}" == "install/65_postgres.sh" ] ; then
            echo Skipping over postgres installation in Docker container.
            continue
        fi
    fi
14 15
    ${INSTALL_SCRIPT} || { echo Failed in execution of "${INSTALL_SCRIPT}" ; exit 1 ; }
done
Thanassis Tsiodras's avatar
Thanassis Tsiodras committed
16 17
echo "Please close this terminal and open a new one (to"
echo "(make sure the environment variables are updated)."