[pacman-dev] [PATCH] repo-add: should have option to prevent downgrading
morganamilo at gmail.com
Sun Apr 28 12:24:14 UTC 2019
On Sun, 28 Apr 2019 at 13:21, Ralph Corderoy <ralph at inputplus.co.uk> wrote:
> Hi ekardnam,
> > + printf -- "$(gettext " --dont-downgrade do not add package to database if a newer version is already present\n")"
> > + warning "$(gettext "A newer version for '%s' is already present in database")" "$pkgname"
> Negative options always read a bit oddly.
> How about the positive --keep-new?
> That's the sense used in the warning message.
> Cheers, Ralph.
--dont-downgrade is way more clear than --keep-new in my opinion.
More information about the pacman-dev