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"
|
||||
|
||||
if [ "$(command -v bash)" ]; then
|
||||
bash "$TMP"
|
||||
sudo bash "$TMP"
|
||||
else
|
||||
sh "$TMP"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user