mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-23 22:16:48 +00:00
fix(webi): replace == with = for POSIX sh
See https://github.com/koalaman/shellcheck/issues/2857
This commit is contained in:
@@ -184,7 +184,7 @@ webi_upgrade() { (
|
||||
echo " $(t_dim 'Found') $(t_path "${b_path_rel}")"
|
||||
b_checksum="$(fn_checksum "${a_path}")"
|
||||
fi
|
||||
if test "$b_checksum" == "${WEBI_CHECKSUM}"; then
|
||||
if test "$b_checksum" = "${WEBI_CHECKSUM}"; then
|
||||
sleep 0.1
|
||||
return 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user