From 3db36c24a9de5917da53fd459130ff23b800632c Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Sun, 8 Nov 2020 21:40:21 +0100 Subject: [PATCH] use -c instead --- setup.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index 95554b8..105fb1b 100644 --- a/setup.sh +++ b/setup.sh @@ -1,8 +1,7 @@ #!/usr/bin/env bash # You must have sudo before running this script -# su - -# apt install sudo -# usermod -a -G sudo +su - -c "apt install sudo" +su - -c "usermod -a -G sudo ${USER}" # Set up various variables WORKDIR="$(pwd)"