From 48cc9182510769be20bae9a74efd4df4208b050c Mon Sep 17 00:00:00 2001 From: Scott Duensing Date: Sun, 8 Jun 2025 19:56:19 -0500 Subject: [PATCH] Fixed some SUDO_USER instances. --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index a7a3ea8..278b595 100755 --- a/install.sh +++ b/install.sh @@ -101,8 +101,8 @@ function configureMachine() { # Compile root update script so it can be suid. shc -S -f /home/${USER}/unsafe-update.sh mv -f /home/${USER}/unsafe-update.sh.x /home/${USER}/unsafe-update-root.sh.x - sudo chown root:root /home/${SUDO_USER}/unsafe-update-root.sh.x - sudo chmod u+s /home/${SUDO_USER}/unsafe-update-root.sh.x + sudo chown root:root /home/${USER}/unsafe-update-root.sh.x + sudo chmod u+s /home/${USER}/unsafe-update-root.sh.x rm /home/${USER}/unsafe-update.sh.x.c # Add auto update icon to autostart. @@ -137,4 +137,4 @@ if [[ ${EUID} -eq 0 ]]; then fi # All the config is in a function so we can stream this script from forge.duensing.digital. -configureMachine 2>&1 | tee /home/${USER}/configureMachine.log +configureMachine 2>&1 | tee /home/${USER}/install.log