From 84222e3b4f8273e6bb8e4c6cee1561869f69de17 Mon Sep 17 00:00:00 2001 From: orbiter Date: Wed, 24 Feb 2010 13:46:50 +0000 Subject: [PATCH] fix for auto-updater: delete old libraries before copy of new one git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6695 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/yacy/yacyRelease.java | 1 + 1 file changed, 1 insertion(+) diff --git a/source/de/anomic/yacy/yacyRelease.java b/source/de/anomic/yacy/yacyRelease.java index fb5c4f5df..2bdb0f7d6 100644 --- a/source/de/anomic/yacy/yacyRelease.java +++ b/source/de/anomic/yacy/yacyRelease.java @@ -545,6 +545,7 @@ public final class yacyRelease extends yacyVersion { "while [ -f ../yacy.running ]; do" + serverCore.LF_STRING + "sleep 1" + serverCore.LF_STRING + "done" + serverCore.LF_STRING + + "rm " + apphome + "/lib/*" + serverCore.LF_STRING + "cp -Rf yacy/* " + apphome + serverCore.LF_STRING + "rm -Rf yacy" + serverCore.LF_STRING + /* ((releaseFile.getName().endsWith(".gz")) ?