Update setup.sh

This commit is contained in:
2024-06-21 15:26:16 +00:00
committed by GitHub
parent 751ea4dfbc
commit 0e997c45c2
+5 -2
View File
@@ -1,7 +1,10 @@
#!/bin/bash #!/bin/bash
# Escalate Privilage # Make sure you're sudo
sudo su if [ "$EUID" -ne 0 ]
then echo "Please run as root (run `sudo -i` then try again)"
exit
fi
# Make temporary directory # Make temporary directory
mkdir ~/Downloads/tempinstall || "" mkdir ~/Downloads/tempinstall || ""