From 70a844d0728f2664069a55dcf38c33e5a41ed70f Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 7 Feb 2016 21:08:35 +0100
Subject: [PATCH] Fix hostname setting bug for testing server.

---
 jessie_postinstall.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/jessie_postinstall.sh b/jessie_postinstall.sh
index 1b2978a..08b34ab 100755
--- a/jessie_postinstall.sh
+++ b/jessie_postinstall.sh
@@ -21,8 +21,8 @@ fi
 # Some important variables
 if [ "$2" = "plomlompom.com" ]; then
     hostname="plomlompom"
-elif [ "$2" = "test.plomlompom" ]; then
-    hostname="test.plomlompom.com"
+elif [ "$2" = "test.plomlompom.com" ]; then
+    hostname="test.plomlompom"
 elif [ "$2" = "X200s" ]; then
     hostname="X220s"
 elif [ "$2" = "T450s" ]; then
-- 
2.30.2