From d0d6123b187a6e0c0c91f0d41f1e79c488b4d6c4 Mon Sep 17 00:00:00 2001 From: orbiter Date: Wed, 1 Jun 2011 19:52:05 +0000 Subject: [PATCH] added a deploy script that can be used to deploy yacy releases into the current release for testing git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7768 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- bin/deploy.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 bin/deploy.sh diff --git a/bin/deploy.sh b/bin/deploy.sh new file mode 100755 index 000000000..ec430fc1c --- /dev/null +++ b/bin/deploy.sh @@ -0,0 +1,15 @@ +#!/bin/bash +cd "`dirname $0`" +cd .. +./stopYACY.sh +#./killYACY.sh +cd DATA/RELEASE/ +rm ../../lib/* +rm -Rf yacy +tar xfz `basename $1` +cp -Rf yacy/* ../../ +rm -Rf yacy +cd ../../ +chmod 755 *.sh +chmod 755 bin/*.sh +nohup ./startYACY.sh -l