From 9cd6273d52713cf804486181aabdc0e065da891b Mon Sep 17 00:00:00 2001 From: nhchiu Date: Fri, 11 Oct 2019 19:52:45 +0800 Subject: [PATCH] scripts: Use current username in install-ubuntu-18.04.sh Set KLIPPER_USER to $USER instead of "octoprint". Signed-off-by: Nathan Chiu --- scripts/install-ubuntu-18.04.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/install-ubuntu-18.04.sh b/scripts/install-ubuntu-18.04.sh index 4d2992be..9472fedb 100755 --- a/scripts/install-ubuntu-18.04.sh +++ b/scripts/install-ubuntu-18.04.sh @@ -1,10 +1,9 @@ #!/bin/bash # This script installs Klipper on an Ubuntu 18.04 machine with Octoprint -# Assumes the user running this is named "octoprint" PYTHONDIR="${HOME}/klippy-env" SYSTEMDDIR="/etc/systemd/system" -KLIPPER_USER="octoprint" +KLIPPER_USER=$USER KLIPPER_GROUP=$KLIPPER_USER # Step 1: Install system packages