fix: require admin for installation
This commit is contained in:
parent
e763b71ee2
commit
3e70e8e3ba
@ -27,7 +27,7 @@ install() {
|
||||
echo " ✓ $1 is already installed"
|
||||
else
|
||||
echo " - installing $1 ..."
|
||||
apt-get install $1 -y >/dev/null
|
||||
sudo apt-get install $1 -y >/dev/null
|
||||
echo " ✓ finished"
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user