From 586df77ff4db0b4595d3cfc310c2d02941a61cfc Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 13 Apr 2024 17:19:07 +0200 Subject: [PATCH] revert "added configure script source todo" reverts commit abd8645ab06374a345f1698c313e3c6bfc363ed7. turns out it breaks workflows --- configure.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.sh b/configure.sh index d1608e0..90fdd24 100755 --- a/configure.sh +++ b/configure.sh @@ -18,7 +18,6 @@ # Get linux distro DISTRO=$(lsb_release -is) -USR=$(who am i | awk '{print $1}') if [[ $(id -u) != "0" ]] && [[ $1 != "force" ]]; then echo "You must run this script as root! (To skip this, run with 'force' arg: \"./configure.sh force\")" @@ -63,5 +62,5 @@ $COMMAND # Install Rust if ! [ -x "$(command -v cargo)" ]; then curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y # Install Rust and components - su -u $USR source "$HOME/.cargo/env" # TODO: Not working + source "$HOME/.cargo/env" fi \ No newline at end of file