diff options
author | ewt <devnull@localhost> | 1996-10-20 19:29:34 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1996-10-20 19:29:34 +0000 |
commit | 6e5691a4ff571cb8b8bdd15ab2720917ea89ef15 (patch) | |
tree | 60cf8dc023709d46744d8c24bdb314968ca2dc38 | |
parent | 394f7abfbc0bf78fc335b32cfe85b7b155dac1f3 (diff) | |
download | rpm-6e5691a4ff571cb8b8bdd15ab2720917ea89ef15.tar.gz rpm-6e5691a4ff571cb8b8bdd15ab2720917ea89ef15.tar.bz2 rpm-6e5691a4ff571cb8b8bdd15ab2720917ea89ef15.zip |
print conflict problems differently then missing dependencies
CVS patchset: 1110
CVS date: 1996/10/20 19:29:34
-rw-r--r-- | install.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -409,7 +409,12 @@ static void printDepProblems(FILE * f, struct rpmDependencyConflict * conflicts, printDepFlags(stderr, conflicts[i].needsVersion, conflicts[i].needsFlags); } - fprintf(f, " is needed by %s-%s-%s\n", conflicts[i].byName, - conflicts[i].byVersion, conflicts[i].byRelease); + + if (conflicts[i].sense == RPMDEP_SENSE_REQUIRES) + fprintf(f, " is needed by %s-%s-%s\n", conflicts[i].byName, + conflicts[i].byVersion, conflicts[i].byRelease); + else + fprintf(f, " conflicts with %s-%s-%s\n", conflicts[i].byName, + conflicts[i].byVersion, conflicts[i].byRelease); } } |