summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2004-02-26 18:24:19 +0000
committerFlorent Villard <warly@mandriva.com>2004-02-26 18:24:19 +0000
commit59047213291520eb69bd4565664226df801a5fa9 (patch)
tree68ce5b3733323dda1d7edc8f5fc862da82b62520 /perl-install
parentd64edce110d74358a3e538bbbeb909241e88a29b (diff)
downloaddrakx-59047213291520eb69bd4565664226df801a5fa9.tar
drakx-59047213291520eb69bd4565664226df801a5fa9.tar.gz
drakx-59047213291520eb69bd4565664226df801a5fa9.tar.bz2
drakx-59047213291520eb69bd4565664226df801a5fa9.tar.xz
drakx-59047213291520eb69bd4565664226df801a5fa9.zip
We need the PRINTER flag
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/pkgs.pm5
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) {