Skip to content

Commit

Permalink
fix for auto-updater: delete old libraries before copy of new one
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6695 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Feb 24, 2010
1 parent cd6de83 commit 84222e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/de/anomic/yacy/yacyRelease.java
Expand Up @@ -545,6 +545,7 @@ public static void deployRelease(final File releaseFile) {
"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")) ?
Expand Down

0 comments on commit 84222e3

Please sign in to comment.