From 251676561b5cc8b47d525813ef7555a6e363eeb6 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 31 Oct 2021 04:19:09 +0100 Subject: Remove uneeded arg --- urpm/sys.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'urpm/sys.pm') diff --git a/urpm/sys.pm b/urpm/sys.pm index ce2ab3ae..96683aa7 100644 --- a/urpm/sys.pm +++ b/urpm/sys.pm @@ -306,14 +306,14 @@ sub migrate_back_rpmdb_db_version { clean_rpmdb_shared_regions($root); } -=item migrate_rpmdb_to_sqlite($urpm, $root) +=item migrate_rpmdb_to_sqlite($urpm) Migrate rpmdb to the new sqlite backend. =cut sub migrate_rpmdb_to_sqlite { - my ($urpm, $root) = @_; + my ($urpm) = @_; $urpm->{info}("migrating db from bdb to sqlite (rpm >= 4.16)"); # Whatever is the default backend: URPM::add_macro('_db_backend sqlite'); @@ -324,7 +324,7 @@ sub migrate_rpmdb_to_sqlite { } } -=item migrate_forward_rpmdb_db_version($urpm, $root) +=item migrate_forward_rpmdb_db_version($urpm) Check if we need to migrate rpmdb to a new backend prior to use it and do it if needed. @@ -332,10 +332,10 @@ and do it if needed. =cut sub migrate_forward_rpmdb_db_version { - my ($urpm, $root) = @_; + my ($urpm) = @_; if ($urpm->{need_migrate_rpmdb_now} eq '4.16') { - migrate_rpmdb_to_sqlite($urpm, $root); + migrate_rpmdb_to_sqlite($urpm); } } -- cgit v1.2.1