summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-02-25 15:08:00 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-02-26 15:13:12 +0000
commitf03d0dbef803968f065eb7e3a79c13a758379bae (patch)
tree98d707aab39dfde4023d9c8a989410be3117da25
parent592256a0cfb369429b2e66bcb77dc1bf69997af0 (diff)
downloadmorphs-f03d0dbef803968f065eb7e3a79c13a758379bae.tar.gz
trove.configure: Don't run on upgrades
We only want trove-early-setup to run once, on initial deployment, because the configuration is then propagated by baserock-system-config-sync across upgrades.
-rwxr-xr-xtrove.configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/trove.configure b/trove.configure
index 0ea9e4d..f72794c 100755
--- a/trove.configure
+++ b/trove.configure
@@ -41,6 +41,10 @@ set -e
ROOT="$1"
+if [ "$UPGRADE" == "yes" ]; then
+ exit 0
+fi
+
##########################################################################
lua_escape()