bug #1 fix
This commit is contained in:
parent
3b554bee52
commit
50add797dd
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ install_from_url() { # I agree this will work fine
|
||||||
local install_cmd=$2
|
local install_cmd=$2
|
||||||
local temp_file=$(mktemp)
|
local temp_file=$(mktemp)
|
||||||
curl -fsSL "$url" -o "$temp_file"
|
curl -fsSL "$url" -o "$temp_file"
|
||||||
|
chmod 755 "$temp_file"
|
||||||
eval "$install_cmd $temp_file"
|
eval "$install_cmd $temp_file"
|
||||||
rm "$temp_file"
|
rm "$temp_file"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue