From db9139f75c79d2b148148ff4b29e3b0785c24f0b Mon Sep 17 00:00:00 2001
From: Heather Anderson <heath@odysseus.anderson.name>
Date: Sat, 6 Jun 2020 06:31:14 +0000
Subject: [PATCH] Added more "echo -n" commands to prevent unusable end-of-line
 characters

---
 pkg-scripts/server-postinst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg-scripts/server-postinst b/pkg-scripts/server-postinst
index 34c9c5661a..b1071778d8 100755
--- a/pkg-scripts/server-postinst
+++ b/pkg-scripts/server-postinst
@@ -46,8 +46,8 @@ case "$1" in
 			find /var/lib/athena -maxdepth 3 -path "*\.local/share" -execdir sh -c 'cd share; ln -s ../.. "Vircadia - dev"' ';'
 			find /var/lib/athena -maxdepth 3 -path "*\.local/share" -execdir sh -c 'cd share; ln -s ../.. Vircadia' ';'
 
-			VIRCADIA_ACTIVE=`echo $ATHENA_ACTIVE | sed 's/athena/vircadia/g'`
-			VIRCADIA_ENABLED=`echo $ATHENA_ENABLED | sed 's/athena/vircadia/g'`
+			VIRCADIA_ACTIVE=`echo -n $ATHENA_ACTIVE | sed 's/athena/vircadia/g'`
+			VIRCADIA_ENABLED=`echo -n $ATHENA_ENABLED | sed 's/athena/vircadia/g'`
 
 			echo -n $ATHENA_ENABLED | xargs -d'|' systemctl disable
 			echo -n $VIRCADIA_ENABLED | xargs -d'|' systemctl enable