From e47035e74d87e2976e1a65e4b2a86476f8cd05ac Mon Sep 17 00:00:00 2001 From: Antonio Rojas Date: Tue, 23 May 2023 11:48:54 +0200 Subject: chore(build): improve error wording if no package repo could be detected Not being in any official repo does not necessarily mean this is a new package. One could simply be building an AUR or custom local package. Make the message less confusing in such case. --- src/lib/build/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/build/build.sh b/src/lib/build/build.sh index 191fded..3394395 100644 --- a/src/lib/build/build.sh +++ b/src/lib/build/build.sh @@ -298,7 +298,7 @@ pkgctl_build() { die 'failed to get pacman repo' fi if [[ -z "${pkgrepo}" ]]; then - die 'unknown repo, please specify --repo for new packages' + die 'unknown repo, specify --repo for packages not currently in any official repo' fi fi -- cgit v1.2.3-70-g09d2