fix: run install as sudo on ubuntu

This commit is contained in:
Elton Renda 2021-08-12 19:51:00 +02:00
parent 74551f2401
commit f5c5176470

View File

@ -19,7 +19,7 @@ wget -O "$TMP" "$URL/$DISTRO.sh"
chmod +x "$TMP" chmod +x "$TMP"
if [ "$(command -v bash)" ]; then if [ "$(command -v bash)" ]; then
bash "$TMP" sudo bash "$TMP"
else else
sh "$TMP" sh "$TMP"
fi fi