diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-27 11:58:17 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-27 13:04:03 +0200 |
commit | d0be66015ab86ecdc34025bb870e8e4d5897ceec (patch) | |
tree | d1b142ffa9506c8de40c1a6335b5b16740e4d0db /web/lib/DB.class.php | |
parent | 8bd03adb6168b16222510f2e1a148f2ad5ea3afb (diff) | |
download | aurweb-d0be66015ab86ecdc34025bb870e8e4d5897ceec.tar.xz |
git-update: Improve error message on invalid pkgbase
When the package base does not match the repository name, we currently
show an error message that only mentions the package base name:
error: invalid pkgbase: yate-qt4
To the end user this sounds like the package base name is malformed
itself (and we show exactly the same error message when it contains
invalid characters, indeed). Clarify that there is a name mismatch by
also printing the expected value:
error: invalid pkgbase: yate-qt4, expected: yate4-qt
Inspired by FS#45483.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/lib/DB.class.php')
0 files changed, 0 insertions, 0 deletions