if test "$1" == ""; then
echo "Usage: $0 <repos> Setup given repository locally."
exit
+elif test -e "$1/.svn/"; then
+ echo "$0: Repository $1 is possibly setup! Aborting..."
+ exit
fi
echo "$0: Checking out $1 ..."
fi
echo "$0: Linking to external 'core' repository ..."
svn propset svn:externals -F ../../core/trunk/svn-externals.txt . || exit 255
-if test "$1" != "admin"; then
+if (test "$1" != "admin" && test "$1" != "install"); then
cd application/
- svn propset svn:externals "admin http://www.ship-simu.org/repos/admin/trunk/application/admin/" . || exit 255
+ svn propset svn:externals "admin http://www.ship-simu.org/repos/admin/trunk/application/admin/
+install http://www.ship-simu.org/repos/install/trunk/application/install/" . || exit 255
cd .. # trunk
else
echo "$0: --- Not setting admin external source. ---"