mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-18 20:27:57 +00:00
fix(ci): small fixups to checksum_checker.sh (#2776)
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
parent
dcbdc12cc9
commit
664b2e352b
2
.github/checksum_checker.sh
vendored
2
.github/checksum_checker.sh
vendored
@ -17,7 +17,7 @@ function check_and_update_checksum() {
|
||||
new_checksum=$(python3 ./check_and_update.py $uri)
|
||||
result=$?
|
||||
|
||||
if [[ result -eq 5]]; then
|
||||
if [[ $result -eq 5 ]]; then
|
||||
echo "Contaminated entry detected, deleting entry for $model_name..."
|
||||
yq eval -i "del([$idx])" "$input_yaml"
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user