From 23305fb9fc1401c472afb7b7a39ae74fe702248f Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Fri, 8 Jun 2012 12:54:03 +1000 Subject: [PATCH] Add install.sh fixes #134 Change-Id: I5d0aa01143050a305c44573220e96dba9f81e1ae Signed-off-by: Angus Salkeld --- install.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 0000000000..c9cbbe1b09 --- /dev/null +++ b/install.sh @@ -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 +