summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2012-11-27 16:57:41 +0000
committerJonathan Maw <jonathan.maw@codethink.co.uk>2012-11-27 16:57:41 +0000
commitb7b2b32952323f745251478b67f9867faac2458c (patch)
treeb7ec17c715744ad13e665eeef40793e64e5347f3
parent365ecb5aeb125989893ba6e1e472e4f2951b3a77 (diff)
downloadgenivi-initial-setup-b7b2b32952323f745251478b67f9867faac2458c.tar.gz
Fix script failing if .morph.conf doesn't exist yet
-rwxr-xr-xsetup2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup b/setup
index 1912fb4..550ae18 100755
--- a/setup
+++ b/setup
@@ -56,7 +56,7 @@ trove-prefix = ct/genivi
EOF
#Ensure morph uses our morph.conf
-rm $HOME/.morph.conf
+[ -e $HOME/.morph.conf ] && rm $HOME/.morph.conf
ln -s /src/morph.conf $HOME/.morph.conf
echo "Initial setup complete."