diff --git a/precise/host/hooks/install.d/70-0k.sh b/precise/host/hooks/install.d/70-0k.sh index 89c265f..a1cd02b 100755 --- a/precise/host/hooks/install.d/70-0k.sh +++ b/precise/host/hooks/install.d/70-0k.sh @@ -46,6 +46,16 @@ mkdir -p /opt/apps ) +## +## Remove possible previous docker-compose related stuff +## + +if [ -f /etc/compose/local.conf ]; then + sed -ri 's%^(. /opt/venv/docker-compose/bin/activate)$%# \1 ## docker-compsoe not needed anymore%g' \ + /etc/compose/local.conf +fi + + ## ## Install 0k-charm ##