13 lines
277 B
Bash
Executable file
13 lines
277 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ ! -d /srv/web/docs ]
|
|
then
|
|
echo "/srv/web/docs missing"
|
|
cd /srv/web
|
|
git clone git://git.fedorahosted.org/docs/web.git docs
|
|
fi
|
|
|
|
|
|
cd /srv/web/docs
|
|
git reset -q --hard
|
|
git pull -q
|