Skip to content

Commit

Permalink
dnf5: Offline transactions work with local rpm files
Browse files Browse the repository at this point in the history
  • Loading branch information
m-blaha committed Jul 16, 2024
1 parent 9ab4e87 commit f30fd65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dnf5/context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ void Context::Impl::download_and_run(libdnf5::base::Transaction & transaction) {
std::filesystem::create_directories(offline_datadir);

base.get_config().get_destdir_option().set(offline_datadir / "packages");
transaction.set_download_local_pkgs(true);
}

transaction.download();
Expand Down

0 comments on commit f30fd65

Please sign in to comment.