summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/oem-prepare2
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.
}