Add checks for already-existing stuff, fix lots of stuff
This commit is contained in:
parent
131b2e5ec1
commit
53facd2ef7
2 changed files with 40 additions and 31 deletions
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
|
||||
if [ $(whoami) != "root" ]; then
|
||||
$SUDO = "sudo"
|
||||
SUDO="sudo"
|
||||
else
|
||||
echo "Run as a normal user, not root"
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue