mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 16:22:55 +00:00
Correctly clone rpms/<package>
Signed-off-by: Troy Dawson <tdawson@redhat.com>
This commit is contained in:
parent
fbdb66146c
commit
fb42b297a7
1 changed files with 3 additions and 0 deletions
|
@ -285,6 +285,9 @@ class centpkgClient(cliClient):
|
|||
if "modules/" in self.args.repo[0]:
|
||||
project_name_with_namespace = "redhat/centos-stream/"+self.args.repo[0]
|
||||
short_name=self.args.repo[0].split("/")[1]
|
||||
if "rpms/" in self.args.repo[0]:
|
||||
project_name_with_namespace = "redhat/centos-stream/"+self.args.repo[0]
|
||||
short_name=self.args.repo[0].split("/")[1]
|
||||
else:
|
||||
project_name_with_namespace = "redhat/centos-stream/rpms/"+self.args.repo[0]
|
||||
short_name=self.args.repo[0]
|
||||
|
|
Loading…
Add table
Reference in a new issue