Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c05d3e51 authored by thilo's avatar thilo
Browse files

Update bootstrap-generic.sh

parent 7315cf45
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2,11 +2,12 @@

if [[ $# -lt 1 ]]
then
    echo "Usage $0 <repo-url> [branch name]"
    echo "Usage $0 <repo-url> [branch name] [environment]"
    exit 1
fi
REPO=$1
BRANCH="$2"
ENVIRONMENT="$3"
if [[ "$BRANCH" != "" ]]
then
    BRANCH="--branch $BRANCH"
@@ -30,4 +31,4 @@ salt-call state.apply docker-compose


# init repo
bash /mnt/repo-base/scripts/init-repo.sh
bash /mnt/repo-base/scripts/init-repo.sh $ENVIRONMENT