aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-01-12 19:37:17 +0000
committerThierry Vignaud <tv@mandriva.org>2008-01-12 19:37:17 +0000
commite885660757dc4603096978accc73b793fac6385e (patch)
tree5e42496544797f5a2445f28ebd927b39641e03ba
parent4abe5330f3abe66b540bdaa07867a362bf730c15 (diff)
downloadiurt-e885660757dc4603096978accc73b793fac6385e.tar
iurt-e885660757dc4603096978accc73b793fac6385e.tar.gz
iurt-e885660757dc4603096978accc73b793fac6385e.tar.bz2
iurt-e885660757dc4603096978accc73b793fac6385e.tar.xz
iurt-e885660757dc4603096978accc73b793fac6385e.zip
sort output of rpm -qa
-rwxr-xr-xiurt22
-rwxr-xr-xuiurt2
2 files changed, 2 insertions, 2 deletions
diff --git a/iurt2 b/iurt2
index 30de5a9..40adf2d 100755
--- a/iurt2
+++ b/iurt2
@@ -890,7 +890,7 @@ retry:
# system("sudo chroot $chroot_tmp rm -rf /var/lib/rpm/__db* &> /dev/null");
system("$sudo chroot $chroot_tmp rpm --rebuilddb &> /dev/null");
- perform_command("$sudo chroot $chroot_tmp rpm -qa",
+ perform_command("$sudo chroot $chroot_tmp rpm -qa | sort",
\%run, $config, $cache,
logname => "rpm_qa",
hash => "rpm_qa_$srpm",
diff --git a/uiurt b/uiurt
index 242221b..c9d6f87 100755
--- a/uiurt
+++ b/uiurt
@@ -843,7 +843,7 @@ retry:
# system("sudo chroot $chroot_tmp rm -rf /var/lib/rpm/__db* &> /dev/null");
system("$sudo chroot $chroot_tmp rpm --rebuilddb &> /dev/null");
- perform_command("$sudo chroot $chroot_tmp rpm -qa",
+ perform_command("$sudo chroot $chroot_tmp rpm -qa | sort",
\%run, $config, $cache,
logname => "rpm_qa",
hash => "rpm_qa_$srpm",