]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
- manually copy comps.xml for now for rpmrepo
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 14 Nov 2008 14:37:34 +0000 (14:37 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Fri, 14 Nov 2008 14:37:34 +0000 (14:37 +0000)
Changed files:
    bin/pfa-genindex -> 1.24

bin/pfa-genindex

index 8d73388f7c9829a400166c66556acfd807a9d13f..91504da485e569e6e146a6a93cd7aa18343190cb 100644 (file)
@@ -96,6 +96,9 @@ if do_rpmrepo:
             dir = '%s/%s/%s/RPMS' % (ftp_dir, tree, arch)
             print 'generate repodata for %s using rpmrepo (in %s)' % (arch, dir)
             os.system('time rpmrepo %s -o %s' % (dir, dir))
+            print 'copy comps.xml'
+            comps = '%s.stat/repodata/comps.xml' % ftp_dir
+            os.system('set -x; cp -p %s %s/repodata' % (comps, dir))
 
 for tree in trees:
     ftpio.unlock(tree)
This page took 0.030866 seconds and 4 git commands to generate.