cli: Allow using destdir option for the new manifest plugin
This commit is contained in:
parent
57053b68af
commit
bb1d84bd64
|
@ -1,4 +1,4 @@
|
|||
set (DEFAULT_DNF_VERSION "4.23.0")
|
||||
set (DEFAULT_DNF_VERSION "4.24.0")
|
||||
|
||||
if(DEFINED DNF_VERSION)
|
||||
if(NOT ${DEFAULT_DNF_VERSION} STREQUAL ${DNF_VERSION})
|
||||
|
|
2
dnf.spec
2
dnf.spec
|
@ -65,7 +65,7 @@
|
|||
It supports RPMs, modules and comps groups & environments.
|
||||
|
||||
Name: dnf
|
||||
Version: 4.23.0
|
||||
Version: 4.24.0
|
||||
Release: 1%{?dist}
|
||||
Summary: %{pkg_summary}
|
||||
# For a breakdown of the licensing, see PACKAGE-LICENSING
|
||||
|
|
|
@ -858,7 +858,7 @@ class Cli(object):
|
|||
if opts.destdir is not None:
|
||||
self.base.conf.destdir = opts.destdir
|
||||
if not self.base.conf.downloadonly and opts.command not in (
|
||||
'download', 'system-upgrade', 'reposync', 'modulesync'):
|
||||
'download', 'manifest', 'system-upgrade', 'reposync', 'modulesync'):
|
||||
logger.critical(_('--destdir or --downloaddir must be used with --downloadonly '
|
||||
'or download or system-upgrade command.')
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue