diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-25 08:51:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-25 08:51:06 +0000 |
commit | f74f9d78b6ef204b6c0f4cfeca0932d70892fe02 (patch) | |
tree | 1e54a91c8c9cf838ba9f34a52cfb771c132a5351 /perl-install/install/pkgs.pm | |
parent | 53f3b047d2cd22dab61c5c6c721cc268640828f1 (diff) | |
download | drakx-f74f9d78b6ef204b6c0f4cfeca0932d70892fe02.tar drakx-f74f9d78b6ef204b6c0f4cfeca0932d70892fe02.tar.gz drakx-f74f9d78b6ef204b6c0f4cfeca0932d70892fe02.tar.bz2 drakx-f74f9d78b6ef204b6c0f4cfeca0932d70892fe02.tar.xz drakx-f74f9d78b6ef204b6c0f4cfeca0932d70892fe02.zip |
- generate /var/lib/rpm/installed-through-deps.list
(to initialize urpmi orphans)
- for this, we must ensure $packages (which is similar to urpmi's $urpm) has
field {root}
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r-- | perl-install/install/pkgs.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index 4f36d9f06..f5b8de340 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -332,6 +332,7 @@ sub empty_packages { @$packages{qw(count media)} = (0, []); $packages->{log} = \&log::l; + $packages->{root} = $::prefix; $packages->{prefer_vendor_list} = '/etc/urpmi/prefer.vendor.list'; $packages->{keep_unrequested_dependencies} = defined($o_keep_unrequested_dependencies) ? $o_keep_unrequested_dependencies : 1; |