mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-01-30 19:09:03 +00:00
Fix string compare
This commit is contained in:
parent
224c531d64
commit
c12509bc0c
@ -725,7 +725,7 @@ runner_install() {
|
|||||||
message info "The selected runner will now be downloaded.\nThis might take a moment."
|
message info "The selected runner will now be downloaded.\nThis might take a moment."
|
||||||
|
|
||||||
# Download and extract the runner
|
# Download and extract the runner
|
||||||
if [ "$latest_url" == "$snatella_url" ]; then
|
if [ "$latest_url" = "$snatella_url" ]; then
|
||||||
# Runners without a subdirectory in the archive
|
# Runners without a subdirectory in the archive
|
||||||
echo -e "\nDownloading $runner_url\ninto $runner_dir/$runner_name\n"
|
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"
|
mkdir -p "$runner_dir/$runner_name" && curl -L "$runner_url" | tar -xzf - -C "$runner_dir/$runner_name"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user