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.
This commit is contained in:
Antonio Rojas 2023-05-23 11:48:54 +02:00 committed by Levente Polyak
parent 9b11b16a7e
commit e47035e74d
No known key found for this signature in database
GPG Key ID: FC1B547C8D8172C8
1 changed files with 1 additions and 1 deletions

View File

@ -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