diff options
author | Francois Pons <fpons@mandriva.com> | 2002-03-01 19:07:29 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-03-01 19:07:29 +0000 |
commit | 086aedec5e4c1a22977866660a1b6cdd510e0b02 (patch) | |
tree | d5deccffe8789f40b5e622c71b05826ddc859790 /tools/oem-prepare | |
parent | ee1e8b1c53d0d2f9d45fa35ddd7c6413d6a42958 (diff) | |
download | drakx-backup-do-not-use-086aedec5e4c1a22977866660a1b6cdd510e0b02.tar drakx-backup-do-not-use-086aedec5e4c1a22977866660a1b6cdd510e0b02.tar.gz drakx-backup-do-not-use-086aedec5e4c1a22977866660a1b6cdd510e0b02.tar.bz2 drakx-backup-do-not-use-086aedec5e4c1a22977866660a1b6cdd510e0b02.tar.xz drakx-backup-do-not-use-086aedec5e4c1a22977866660a1b6cdd510e0b02.zip |
added handling of newer rpmsrate format with INSTALL category.
Diffstat (limited to 'tools/oem-prepare')
-rwxr-xr-x | tools/oem-prepare | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/oem-prepare b/tools/oem-prepare index 5c6a34892..feba93f60 100755 --- a/tools/oem-prepare +++ b/tools/oem-prepare @@ -370,7 +370,7 @@ sub read_rpmsrate { map { packageById($packages, $_) } packageDepsId($p); my @m3 = ((grep { !/^\d$/ } @m), @m2); - if (@m3 == 1 && $m3[0] eq 'INSTALL') { + if (@m3 >= 1 && $m3[0] eq 'INSTALL' || @m3 >=2 && $m3[1] eq 'INSTALL') { push @{$packages->{needToCopy} ||= []}, $_; next; #- don't need to put INSTALL flag for a package. } |