Fix .ungitrc. Only checkout Git-repo if not already there.
This commit is contained in:
parent
93fee36b19
commit
a8606bc2c5
4
.ungitrc
4
.ungitrc
@ -1,4 +1,4 @@
|
||||
{
|
||||
launchBrowser: false,
|
||||
forcedLaunchPath: /var/www/html/ocde
|
||||
"launchBrowser": false,
|
||||
"forcedLaunchPath": "/var/www/html/ocde"
|
||||
}
|
||||
|
@ -38,5 +38,7 @@ cp /vagrant/.ungitrc /home/vagrant/
|
||||
|
||||
sudo -u vagrant nohup ungit >/tmp/ungit.log 2>&1 &
|
||||
|
||||
# Checkout OCDE code
|
||||
sudo -u vagrant git clone $OC_GIT /var/www/html/ocde
|
||||
# Checkout OCDE code if not already there
|
||||
if [ ! -d /var/www/html/ocde/.git ]; then
|
||||
sudo -u vagrant git clone $OC_GIT /var/www/html/ocde
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user