From f8fe65b749969f38696ee2fb7791776b12207562 Mon Sep 17 00:00:00 2001 From: Strazzom Date: Wed, 3 Oct 2018 01:38:13 -0700 Subject: [PATCH] change install.sh not to use reserved shell variables for user --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 1152ae42..2fb2c145 100755 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ if [ "$EUID" == 0 ] fi # Get username for regular user. -USER=$(whoami) +username=$(whoami) # Start root section sudo su root <<'EOF' @@ -34,7 +34,7 @@ systemctl enable docker pip install docker-compose # Add user to docker group -usermod -aG docker $USER +usermod -aG docker $username # End of root section EOF