1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-03-02 10:21:49 -05:00

makepkg: Clarified error message when a sourceball exist already

Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Eric Bélanger 2009-11-06 10:16:49 -05:00 committed by Dan McGee
parent 77e84bea71
commit 77023978c5

View File

@ -1786,7 +1786,7 @@ msg "$(gettext "Making package: %s")" "$pkgbase $pkgver-$pkgrel ($(date))"
if [ "$SOURCEONLY" -ne 0 ]; then
if [ -f "$PKGDEST/${pkgbase}-${pkgver}-${pkgrel}${SRCEXT}" \
-a "$FORCE" -eq 0 ]; then
error "$(gettext "A package has already been built. (use -f to overwrite)")"
error "$(gettext "A source package has already been built. (use -f to overwrite)")"
exit 1
fi
create_srcpackage