Skip to main content

install_command

Function install_command 

Source
pub fn install_command(install_dir: &str, release: &str) -> String
Expand description

The remote install command line: fetch install.sh, then run it with the release as $1. The script is fetched into a variable first – sh -c "$(curl ...)" alone runs an empty command (exit 0) when the fetch fails, and the install would be reported as done.