Add checks for already-existing stuff, fix lots of stuff

This commit is contained in:
askiiart 2023-08-31 10:28:37 -05:00
parent 131b2e5ec1
commit 53facd2ef7
2 changed files with 40 additions and 31 deletions

View file

@ -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