From d73d5cb0bae2ccbda1602c86737a4ec66999fea8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 13 Mar 2009 14:53:15 +0000 Subject: [PATCH] Installation wizard added, this must be tested and should be added to all applications --- setup-repos.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup-repos.sh b/setup-repos.sh index ad263a37..bf98d390 100755 --- a/setup-repos.sh +++ b/setup-repos.sh @@ -4,6 +4,9 @@ if test "$1" == ""; then echo "Usage: $0 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 ..." @@ -25,9 +28,10 @@ else 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. ---" -- 2.39.2