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