scripts: Use current username in install-ubuntu-18.04.sh

Set KLIPPER_USER to $USER instead of "octoprint".

Signed-off-by: Nathan Chiu <nhchiu2009@gmail.com>
This commit is contained in:
nhchiu authored and KevinOConnor committed 2019-10-23 14:54:31 -04:00
1 parent dd12c981ef
commit 9cd6273d52
1 file changed
+1 -2
+1 -2
View File
@@ -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