mirror of
https://github.com/ION606/config-backup.git
synced 2026-05-14 22:16:58 +00:00
Update setup.sh
This commit is contained in:
@@ -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 || ""
|
||||||
|
|||||||
Reference in New Issue
Block a user