heat/install.sh
Angus Salkeld 23305fb9fc Add install.sh
fixes #134

Change-Id: I5d0aa01143050a305c44573220e96dba9f81e1ae
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
2012-06-08 12:54:03 +10:00

24 lines
349 B
Bash
Executable File

#!/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