mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Don't try to clone if owncloud repo already exists
This commit is contained in:
parent
414b986450
commit
3f25d20fbd
1 changed files with 6 additions and 2 deletions
|
|
@ -27,8 +27,12 @@ radicale_deps() {
|
||||||
|
|
||||||
davserver_owncloud() {
|
davserver_owncloud() {
|
||||||
# Maybe tmpfs is mounted on /tmp/, can't harm anyway.
|
# Maybe tmpfs is mounted on /tmp/, can't harm anyway.
|
||||||
git clone --depth=1 https://github.com/untitaker/owncloud-testserver.git /tmp/owncloud-testserver
|
if [ ! -d ./owncloud-testserver/ ]; then
|
||||||
ln -s /tmp/owncloud-testserver .
|
git clone --depth=1 \
|
||||||
|
https://github.com/untitaker/owncloud-testserver.git \
|
||||||
|
/tmp/owncloud-testserver
|
||||||
|
ln -s /tmp/owncloud-testserver .
|
||||||
|
fi
|
||||||
cd ./owncloud-testserver/
|
cd ./owncloud-testserver/
|
||||||
sh install.sh
|
sh install.sh
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue