fix: run install as sudo on ubuntu
This commit is contained in:
parent
74551f2401
commit
f5c5176470
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user