From 9f7057ea439a6153e3201d6b26aad70fcb362203 Mon Sep 17 00:00:00 2001 From: David Moreau-Simard Date: Tue, 17 Jan 2017 11:37:08 -0500 Subject: [PATCH] Sort the output of rpm -qa for easier comparisons Change-Id: I99a6be868e6701bb3f2ffaaa075bcb91782884b4 --- copy_logs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copy_logs.sh b/copy_logs.sh index f06c473b0..588955f1e 100755 --- a/copy_logs.sh +++ b/copy_logs.sh @@ -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