mirror of https://github.com/Desuuuu/klipper.git
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:
parent
dd12c981ef
commit
9cd6273d52
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue