From a6ff279b0d5be96d36059491e9fe6d70a8df2002 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Sun, 29 Jul 2018 19:48:22 +0200 Subject: [PATCH] fix: [docker-host] must delete all cache values in case of upgrade --- precise/host/hooks/install.d/70-0k.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/precise/host/hooks/install.d/70-0k.sh b/precise/host/hooks/install.d/70-0k.sh index f4ce8a0..d8d17e1 100755 --- a/precise/host/hooks/install.d/70-0k.sh +++ b/precise/host/hooks/install.d/70-0k.sh @@ -231,6 +231,8 @@ else git clone "$GIT_0K_BASE"/0k/0k-compose.git fi [ -e /usr/local/bin/compose ] || ln -sfv /opt/apps/0k-compose/bin/compose /usr/local/bin/ +rm -rf /var/cache/compose + cat < /etc/default/datastore DATASTORE=/srv/datastore