Index: re-sync.sh
===================================================================
--- re-sync.sh	(revision 19)
+++ re-sync.sh	(working copy)
@@ -22,7 +22,6 @@
 
 ./smg_ctrl stop
 ./smg_ctrl start
-cd /usr/local/ss7box
 
 for((i=0;i<20;i++))
 do
Index: install
===================================================================
--- install	(revision 19)
+++ install	(working copy)
@@ -179,39 +179,40 @@
 make install
 echo "Ok."
 
-if [ ! -d chan_woomera.trunk ]; then
-	echo "Error: Chan woomera dir not found!"
-	exit 1
-fi
+if [ -d chan_woomera.trunk ]; then
 
-cd chan_woomera.trunk
+	cd chan_woomera.trunk
 
+	echo "Compiling Woomera Channel ..."
 
-echo "Compiling Woomera Channel ..."
+	if [ ! -e $pbxdir ]; then
+		echo
+		echo "Error: $pbxdir directory does not exist!"
+		echo "       Please create symlink /usr/src/asterisk and"
+		echo "       point to existing asterisk source!"
+		echo "       Then re run ./install.sh "
+		echo
+		exit 1
+	fi
 
-if [ ! -e $pbxdir ]; then
-	echo
-	echo "Error: $pbxdir directory does not exist!"
-	echo "       Please create symlink /usr/src/asterisk and"
-	echo "       point to existing asterisk source!"
-	echo "       Then re run ./install.sh "
-	echo
-	exit 1
-fi
+	eval "make clean 2> /dev/null > /dev/null"
+	eval "make PBXDIR=$pbxdir"
+	if [ $? -ne 0 ]; then
+		exit 1;
+	fi
 
-eval "make clean 2> /dev/null > /dev/null"
-eval "make PBXDIR=$pbxdir"
-if [ $? -ne 0 ]; then
-	exit 1;
-fi
+	make install
+	echo "Ok."
 
-make install
-echo "Ok."
+	if [ -d /etc/asterisk ]; then
+		if [ ! -f /etc/asterisk/woomera.conf ]; then
+			\cp -f woomera.conf /etc/asterisk
+		fi
+	fi
 
-if [ -d /etc/asterisk ]; then
-	if [ ! -f /etc/asterisk/woomera.conf ]; then
-		\cp -f woomera.conf /etc/asterisk
-	fi
+else
+	echo "Warning: chan_woomera directory does not exist!"
+	exit 1
 fi
 
 
