Fix string compare

This commit is contained in:
the-sane 2020-12-27 14:59:41 -05:00 committed by GitHub
parent 224c531d64
commit c12509bc0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -725,7 +725,7 @@ runner_install() {
message info "The selected runner will now be downloaded.\nThis might take a moment."
# Download and extract the runner
if [ "$latest_url" == "$snatella_url" ]; then
if [ "$latest_url" = "$snatella_url" ]; then
# Runners without a subdirectory in the archive
echo -e "\nDownloading $runner_url\ninto $runner_dir/$runner_name\n"
mkdir -p "$runner_dir/$runner_name" && curl -L "$runner_url" | tar -xzf - -C "$runner_dir/$runner_name"