summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-12-07 23:33:38 +0000
committerErik Troan <ewt@redhat.com>2000-12-07 23:33:38 +0000
commit4114e347a69a29252670f1a157fe8e90bf42edee (patch)
tree057d5b03de34cac45d7bf03c2b131ac34a2e1f9f /scripts
parent7092f4bf5bd788799fd97cd7e1f9b8b2a4c2be95 (diff)
downloadanaconda-4114e347a69a29252670f1a157fe8e90bf42edee.tar.gz
anaconda-4114e347a69a29252670f1a157fe8e90bf42edee.tar.xz
anaconda-4114e347a69a29252670f1a157fe8e90bf42edee.zip
lowercase names in sort, just like install does
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/pkgorder6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/pkgorder b/scripts/pkgorder
index 1e7e0e87a..dd2cb0cdd 100755
--- a/scripts/pkgorder
+++ b/scripts/pkgorder
@@ -12,8 +12,8 @@ fns = {}
import comps
def cmpHeaderByName(h1, h2):
- n1 = h1['name']
- n2 = h2['name']
+ n1 = string.lower(h1['name'])
+ n2 = string.lower(h2['name'])
if n1 < n2:
return -1
@@ -101,6 +101,8 @@ pkgOrder = []
ts.order()
+print "here"
+
problems = ts.run(rpm.RPMTRANS_FLAG_TEST, ~0, transCB, None)
for p in pkgOrder: