diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-11-09 05:30:30 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-11-09 06:35:12 +0100 |
commit | bd746568f6554789537baf96e5f75ff35737bd98 (patch) | |
tree | b340b1792c40f10233732ae826ebce152ec441ac /lib/libalpm | |
parent | 03aa44a3ecab8ede51d3a6a780017b59babe2965 (diff) | |
download | pacman-bd746568f6554789537baf96e5f75ff35737bd98.tar.gz pacman-bd746568f6554789537baf96e5f75ff35737bd98.tar.xz |
makepkg: simplify epoch handling
We can avoid setting a default value for epoch since we intend to mean
unset and "0" as the same thing. This is also a more consistent default
as the display of epoch=0 is no epoch at all in the full package
version.
The extra paranoia in get_full_version can be removed due to lint_epoch
guarding against non-integer values of epoch.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
0 files changed, 0 insertions, 0 deletions