Sort the output of rpm -qa for easier comparisons

Change-Id: I99a6be868e6701bb3f2ffaaa075bcb91782884b4
This commit is contained in:
David Moreau-Simard 2017-01-17 11:37:08 -05:00
parent 70f1128dca
commit 9f7057ea43

View File

@ -173,7 +173,7 @@ if [ `command -v dpkg` ]; then
apt-cache policy > $LOG_DIR/apt-cache-policy.txt
fi
if [ `command -v rpm` ]; then
rpm -qa > $LOG_DIR/rpm-qa.txt
rpm -qa |sort > $LOG_DIR/rpm-qa.txt
yum repolist -v > $LOG_DIR/repolist.txt
fi