fixed logical check in install script
这个提交包含在:
父节点
fe81df00ee
当前提交
c59c9a3cc7
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1,3 @@
|
||||
*.*sw*
|
||||
bower_components/
|
||||
assets/
|
||||
|
||||
6
install.sh
普通文件 -> 可执行文件
6
install.sh
普通文件 -> 可执行文件
@ -1,10 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set -u
|
||||
# git clone git@git.daplie.com:OAuth3/org.oauth3.git /srv/walnut/packages/pages/org.oauth3
|
||||
|
||||
mkdir -p assets
|
||||
if [ -d ./assets/org.oauth3 ]; then
|
||||
git clone git@git.daplie.com:Daplie/oauth3.js.git ./assets/org.oauth3
|
||||
if ! [ -d ./assets/org.oauth3 ]; then
|
||||
git clone git@git.daplie.com:Daplie/oauth3.js.git ./assets/org.oauth3
|
||||
fi
|
||||
pushd ./assets/org.oauth3
|
||||
git checkout v1
|
||||
|
||||
正在加载...
x
在新工单中引用
屏蔽一个用户