mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +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() {
|
||||
# Maybe tmpfs is mounted on /tmp/, can't harm anyway.
|
||||
git clone --depth=1 https://github.com/untitaker/owncloud-testserver.git /tmp/owncloud-testserver
|
||||
ln -s /tmp/owncloud-testserver .
|
||||
if [ ! -d ./owncloud-testserver/ ]; then
|
||||
git clone --depth=1 \
|
||||
https://github.com/untitaker/owncloud-testserver.git \
|
||||
/tmp/owncloud-testserver
|
||||
ln -s /tmp/owncloud-testserver .
|
||||
fi
|
||||
cd ./owncloud-testserver/
|
||||
sh install.sh
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue