fix: require admin for installation

This commit is contained in:
max_richter 2021-08-19 17:07:51 +02:00
parent e763b71ee2
commit 3e70e8e3ba

View File

@ -27,7 +27,7 @@ install() {
echo "$1 is already installed" echo "$1 is already installed"
else else
echo " - installing $1 ..." echo " - installing $1 ..."
apt-get install $1 -y >/dev/null sudo apt-get install $1 -y >/dev/null
echo " ✓ finished" echo " ✓ finished"
fi fi
} }