Add install.sh
fixes #134 Change-Id: I5d0aa01143050a305c44573220e96dba9f81e1ae Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
parent
0b7feab00b
commit
23305fb9fc
23
install.sh
Executable file
23
install.sh
Executable 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
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user