Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/lib/build
diff options
context:
space:
mode:
authorAntonio Rojas <arojas@archlinux.org>2023-05-23 11:48:54 +0200
committerLevente Polyak <anthraxx@archlinux.org>2023-05-27 22:18:04 +0200
commite47035e74d87e2976e1a65e4b2a86476f8cd05ac (patch)
tree70c686c7afd4730febeaac1e82149b2fa2bf1f27 /src/lib/build
parent9b11b16a7e6cdfdff142ff1c5184a760673988d2 (diff)
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.
Diffstat (limited to 'src/lib/build')
-rw-r--r--src/lib/build/build.sh2
1 files changed, 1 insertions, 1 deletions
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