diff options
Diffstat (limited to 'urpmq')
-rwxr-xr-x | urpmq | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -174,6 +174,7 @@ if ($query->{env}) { $urpm->{statedir} = $query->{env}; } +$query->{upgrade} && !$query->{env} && !$query->{root} and $urpm->shlock_rpm_db; $urpm->shlock_urpmi_db; $urpm->configure(nocheck_access => 1, noskipping => $query->{nodepslist}, noinstalling => $query->{nodepslist}, nodepslist => $query->{nodepslist}, @@ -400,6 +401,7 @@ if ($query->{list_aliases}) { } } $urpm->unlock_urpmi_db; +$query->{upgrade} && !$query->{env} && !$query->{root} and $urpm->unlock_rpm_db; #- print sub for query. my $query_sub = sub { |