kych

OAuth 2.0 API for Swiyu to enable Taler integration of Swiyu for KYC (experimental)
Log | Files | Refs | Submodules | README | LICENSE

bootstrap (428B)


      1 #!/bin/sh
      2 
      3 # Bootstrap the repository.  Used when the repository is checked out from git.
      4 # When using the source tarball, running this script is not necessary.
      5 
      6 set -eu
      7 
      8 if ! git --version >/dev/null; then
      9   echo "git not installed"
     10   exit 1
     11 fi
     12 
     13 # Make sure that "git pull" et al. also update
     14 # submodules to avoid accidental rollbacks.
     15 git config --local submodule.recurse true
     16 
     17 git submodule sync
     18 git submodule update --init