Browse Source

fix: [docker-host] must delete all cache values in case of upgrade

postgres
Valentin Lab 6 years ago
parent
commit
a6ff279b0d
  1. 2
      precise/host/hooks/install.d/70-0k.sh

2
precise/host/hooks/install.d/70-0k.sh

@ -231,6 +231,8 @@ else
git clone "$GIT_0K_BASE"/0k/0k-compose.git git clone "$GIT_0K_BASE"/0k/0k-compose.git
fi fi
[ -e /usr/local/bin/compose ] || ln -sfv /opt/apps/0k-compose/bin/compose /usr/local/bin/ [ -e /usr/local/bin/compose ] || ln -sfv /opt/apps/0k-compose/bin/compose /usr/local/bin/
rm -rf /var/cache/compose
cat <<EOF > /etc/default/datastore cat <<EOF > /etc/default/datastore
DATASTORE=/srv/datastore DATASTORE=/srv/datastore

Loading…
Cancel
Save