Re: [pacman-dev] [PATCH] Added --dont-downgrade flag to repo-add

2019-04-28 Thread Eli Schwartz
On 4/28/19 3:06 PM, Eli Schwartz wrote: >> +local version=$(sed -n '/^%VERSION%$/ {n;p;q}' >> "$pkgentry/desc") >> +if (( "$(vercmp $version $pkgver)" > "0" )); then > > Neither of these actually need to be quoted, although sure, quoting > doesn't hurt.

Re: [pacman-dev] [PATCH] Added --dont-downgrade flag to repo-add

2019-04-28 Thread Eli Schwartz
On 4/28/19 2:07 PM, ekarn...@autistici.org wrote: > From: ekardnam > Fixes FS#17752 > Signed-off-by: Luca Bertozzi > --- > scripts/repo-add.sh.in | 19 --- > 1 file changed, 16 insertions(+), 3 deletions(-) > > diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in >

Re: [pacman-dev] [PATCH] repo-add: should have option to prevent downgrading

2019-04-28 Thread ekardnam
Yeah that's why I thought it would be more suitable to resubmit here, I moved the new submit to a new conversation not in reply to this And indeed those dependencies did it, thanks :) On 28/04/19 14:31, Eli Schwartz wrote: > The mailing list does get some more viewers, plus it also shows up in

[pacman-dev] [PATCH] Added --dont-downgrade flag to repo-add

2019-04-28 Thread ekarndam
From: ekardnam Signed-off-by: Luca Bertozzi --- scripts/repo-add.sh.in | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index 57413df5..f8748f08 100644 --- a/scripts/repo-add.sh.in +++

Re: [pacman-dev] [PATCH] repo-add: should have option to prevent downgrading

2019-04-28 Thread Eli Schwartz
On 4/28/19 10:05 AM, ekardnam wrote: > Thanks for the feedback, > > I'll post using git-send-mail later has I'm having some troubles with > some perl ssl modules it requires. (I even had read that page but > completely forgot about that, sorry about that) > > Yeah I resubmitted the patch because

Re: [pacman-dev] [PATCH] repo-add: should have option to prevent downgrading

2019-04-28 Thread ekardnam
Thanks for the feedback, I'll post using git-send-mail later has I'm having some troubles with some perl ssl modules it requires. (I even had read that page but completely forgot about that, sorry about that) Yeah I resubmitted the patch because I thought it went lost, didn't mean to rush

Re: [pacman-dev] [PATCH] repo-add: should have option to prevent downgrading

2019-04-28 Thread Morgan Adamiec
On Sun, 28 Apr 2019 at 13:21, Ralph Corderoy 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 > >

[pacman-dev] [PATCH] repo-add: should have option to prevent downgrading

2019-04-28 Thread ekardnam
Hello, following this report #FS17752 (link at [0]) I made a patch to repo-add From 972a5e88df392042d60e5aea1e52e8c5dd113a69 Mon Sep 17 00:00:00 2001 From: ekardnam Date: Tue, 26 Mar 2019 21:28:39 + Subject: [PATCH] Added --dont-downgrade flag to repo-add as stated in issue  #17752 ---