diff --git a/packaging/FreeBSD-repo.sh b/packaging/FreeBSD-repo.sh index 22f6ea0..90fc987 100755 --- a/packaging/FreeBSD-repo.sh +++ b/packaging/FreeBSD-repo.sh @@ -78,7 +78,7 @@ if [ "$(basename "${FILENAME}" .pkg)" = "$(basename "${FILENAME}")" ]; then exit 0 fi -if ls "${REPO}"/*/All/"${JOB}"-*-"${SHA}".pkg > /dev/null; then +if ls "${REPO}"/*/All/"${JOB}"-*."${SHA}".pkg > /dev/null; then echo "Same hash already present, nothing to do" exit 0 fi