diff --git a/collects/planet/util.rkt b/collects/planet/util.rkt index ed83e06320..eff9aa7c0a 100644 --- a/collects/planet/util.rkt +++ b/collects/planet/util.rkt @@ -711,9 +711,10 @@ (λ (x) (and (list? x) (srfi1:lset<= equal? x '("3xx" "4.x")))) (announce "Repositories: ~s\n" repositories) - (warn (string-append - "Package's info.rkt does not contain a repositories field." - " The package will be listed in all repositories by default."))] + (unless repositories + (warn (string-append + "Package's info.rkt does not contain a repositories field." + " The package will be listed in all repositories by default.")))] [version string? (announce "Version description: ~a\n" version)]))])