diff options
author | Florent Villard <warly@mandriva.com> | 2004-02-26 18:24:19 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2004-02-26 18:24:19 +0000 |
commit | 59047213291520eb69bd4565664226df801a5fa9 (patch) | |
tree | 68ce5b3733323dda1d7edc8f5fc862da82b62520 /perl-install | |
parent | d64edce110d74358a3e538bbbeb909241e88a29b (diff) | |
download | drakx-backup-do-not-use-59047213291520eb69bd4565664226df801a5fa9.tar drakx-backup-do-not-use-59047213291520eb69bd4565664226df801a5fa9.tar.gz drakx-backup-do-not-use-59047213291520eb69bd4565664226df801a5fa9.tar.bz2 drakx-backup-do-not-use-59047213291520eb69bd4565664226df801a5fa9.tar.xz drakx-backup-do-not-use-59047213291520eb69bd4565664226df801a5fa9.zip |
We need the PRINTER flag
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/pkgs.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index ebd00c587..f0495b352 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -524,10 +524,13 @@ sub read_rpmsrate { my $p = packageByName($packages, $_) or next; my @m2 = map { if_(/locales-(.*)/, qq(LOCALES"$1")) } $p->requires_nosense; my @m3 = ((grep { !/^\d$/ } @m), @m2); - if (member('INSTALL', @m3) || member('PRINTER', @m3)) { + if (member('INSTALL', @m3)) { member('NOCOPY', @m3) or push @{$packages->{needToCopy} ||= []}, $_; next; #- don't need to put INSTALL flag for a package. } + if (member('PRINTER', @m3)) { + push @{$packages->{needToCopy} ||= []}, $_; + } if ($p->rate) { my @m4 = $p->rflags; if (@m3 > 1 || @m4 > 1) { |