cli: Allow using destdir option for the new manifest plugin

This commit is contained in:
Jan Kolarik 2024-09-11 11:40:17 +00:00 committed by Petr Pisar
parent 57053b68af
commit bb1d84bd64
3 changed files with 3 additions and 3 deletions

View File

@ -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})

View File

@ -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

View File

@ -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.')
)