use -c instead
This commit is contained in:
parent
e41fe770a7
commit
3db36c24a9
1 changed files with 2 additions and 3 deletions
5
setup.sh
5
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 <your username>
|
||||
su - -c "apt install sudo"
|
||||
su - -c "usermod -a -G sudo ${USER}"
|
||||
|
||||
# Set up various variables
|
||||
WORKDIR="$(pwd)"
|
||||
|
|
Loading…
Add table
Reference in a new issue