[pacman-dev] [PATCH] Return 17 if a package/group has been built.

Andrew Gregory andrew.gregory.8 at gmail.com
Fri May 22 12:38:22 UTC 2015


On 05/22/15 at 03:07pm, fbt wrote:
> A specific exit code to distinguish failed builds and refusal to build
> because the package/group has already been built.
> Useful in autobuild scripts.
> 
> Signed-off-by: Jack L. Frost <fbt at fleshless.org>

Would it not make more sense to just return 0 for this?  Presumably if
a user or script is running makepkg without --force they don't care
whether the package is newly built or already existed.  Is there
actually a use case where a user would care if the package had already
been built but would not run with --force to begin with?

apg


More information about the pacman-dev mailing list