fixed logical check in install script
This commit is contained in:
parent
fe81df00ee
commit
c59c9a3cc7
|
@ -1 +1,3 @@
|
||||||
*.*sw*
|
*.*sw*
|
||||||
|
bower_components/
|
||||||
|
assets/
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue