Try to erase unneeded OpenJDK packages found
This should result in rpm dependency error and display what requires these packages.
This commit is contained in:
parent
444e0c02bb
commit
8cb48b4fdb
1 changed files with 3 additions and 0 deletions
|
|
@ -29,6 +29,9 @@ rlJournalStart
|
|||
rlPhaseStartTest "Check for absence of JVMs other than OpenJDK $n"
|
||||
rlRun -s "rpm -qa | grep ^java- | grep -v ^java-${n}-openjdk- | sort"
|
||||
rlAssertNotGrep . $rlRun_LOG
|
||||
for pkg in $(cat $rlRun_LOG); do
|
||||
rlRun "rpm -ev ${pkg}"
|
||||
done
|
||||
rlPhaseEnd
|
||||
|
||||
rlJournalEnd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue