From 8dcd8e1012f523bdb6cd3f7e71d813872da1da56 Mon Sep 17 00:00:00 2001 From: Teon Banek Date: Tue, 5 Dec 2017 10:00:38 +0100 Subject: [PATCH] Cleanup libs before running libs/setup in init script Summary: Since libs/setup tries to preserve any local additions to libs directory, any failure in doing that would cause the init script to be left in an unfinished state. This could cause problems when rerunning the init. In such cases, we want to completely cleanup the libs directory and start again. Anyone who wishes only to update the libs and preserve local additions should manually run libs/setup. Reviewers: mferencevic Reviewed By: mferencevic Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1026 --- init | 1 + 1 file changed, 1 insertion(+) diff --git a/init b/init index 6336b42e4..d65133386 100755 --- a/init +++ b/init @@ -104,6 +104,7 @@ mkdir -p ./build # setup libs (download) cd libs +./cleanup.sh ./setup.sh cd ..