Don't run as root
This commit is contained in:
parent
c5be15b7bf
commit
74bcafc31b
|
@ -2,6 +2,14 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
if [ "$(id -u)" = "0" ]; then
|
||||||
|
echo "You probably don't want to run this as root!"
|
||||||
|
echo "Do this first:"
|
||||||
|
echo "adduser caspervk"
|
||||||
|
echo "adduser caspervk sudo"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Packages
|
# Packages
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt upgrade
|
sudo apt upgrade
|
||||||
|
|
Reference in a new issue