fixed logical check in install script
Este cometimento está contido em:
ascendente
fe81df00ee
cometimento
c59c9a3cc7
2
.gitignore
externo
2
.gitignore
externo
@ -1 +1,3 @@
|
|||||||
*.*sw*
|
*.*sw*
|
||||||
|
bower_components/
|
||||||
|
assets/
|
||||||
|
6
install.sh
Ficheiro normal → Ficheiro executável
6
install.sh
Ficheiro normal → Ficheiro executável
@ -1,10 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -u
|
||||||
# git clone git@git.daplie.com:OAuth3/org.oauth3.git /srv/walnut/packages/pages/org.oauth3
|
# git clone git@git.daplie.com:OAuth3/org.oauth3.git /srv/walnut/packages/pages/org.oauth3
|
||||||
|
|
||||||
mkdir -p assets
|
mkdir -p assets
|
||||||
if [ -d ./assets/org.oauth3 ]; then
|
if ! [ -d ./assets/org.oauth3 ]; then
|
||||||
git clone git@git.daplie.com:Daplie/oauth3.js.git ./assets/org.oauth3
|
git clone git@git.daplie.com:Daplie/oauth3.js.git ./assets/org.oauth3
|
||||||
fi
|
fi
|
||||||
pushd ./assets/org.oauth3
|
pushd ./assets/org.oauth3
|
||||||
git checkout v1
|
git checkout v1
|
||||||
|
Carregando…
x
Criar uma nova questão referindo esta
Bloquear um utilizador