mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-12-26 00:52:46 +00:00
fix empty string check
This commit is contained in:
parent
5a9a221bc2
commit
262d948ef2
|
|
@ -23,7 +23,7 @@ function downloadRelease() {
|
|||
downloaded=true
|
||||
}
|
||||
done
|
||||
if [[ -z $installer_name ]]; then
|
||||
if [[ ! -z "$installer_name" ]]; then
|
||||
dest_filename="$BASE_PATH/$version/$binary_type/$architecture/$os/$installer_name"
|
||||
downloaded=false
|
||||
if [[ -f $dest_filename ]]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue