Add install.sh

fixes #134

Change-Id: I5d0aa01143050a305c44573220e96dba9f81e1ae
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
Angus Salkeld 2012-06-08 12:54:03 +10:00
parent 0b7feab00b
commit 23305fb9fc

23
install.sh Executable file
View File

@ -0,0 +1,23 @@
#!/bin/sh
mkdir -p /var/log/heat
mkdir -p /etc/heat
pushd etc
for f in *
do
if [ -d $f ] ; then
#ignore
s=0
elif [ -f $f ] ; then
echo not coping over /etc/heat/$f
diff -u /etc/heat/$f $f
else
cp $f /etc/heat/
fi
done
popd
./setup.py install --root=/ >/dev/null
rm -rf build heat.egg-info