1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2026-03-02 03:49:29 +00:00

Reduce supported labels for architecture

This commit is contained in:
Tim Byrne
2022-02-21 14:01:08 -06:00
parent 39d0c791ce
commit ebb6715aad
4 changed files with 4 additions and 4 deletions

2
yadm
View File

@@ -189,7 +189,7 @@ function score_file() {
if [[ "$label" =~ ^(default)$ ]]; then
score=$((score + 0))
# variable conditions
elif [[ "$label" =~ ^(a|arch|architecture)$ ]]; then
elif [[ "$label" =~ ^(a|arch)$ ]]; then
if [ "$value" = "$local_arch" ]; then
score=$((score + 1))
else