]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
- newlines for readability
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 3 Feb 2010 13:34:17 +0000 (13:34 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Wed, 3 Feb 2010 13:34:17 +0000 (13:34 +0000)
Changed files:
    bin/pfa-genindex -> 1.28

bin/pfa-genindex

index 1780e33412fd13cd976b0e55d0cf9b6d1d5ba14c..996b145e66038abfdbd01e82a5127fd4e541164b 100644 (file)
@@ -66,9 +66,9 @@ if do_poldek:
     poldek = '%s.stat/bin/poldek-new --cachedir=%s/tmp/poldek --conf %s.stat/etc/poldek.conf --mkidxz' % (ftp_dir, home, ftp_dir)
 
     for tree in trees:
-        print '-------------------------- %s --------------------------' % tree
+        print '\n-------------------------- %s --------------------------' % tree
         for arch in all_ftp_archs:
-            print 'generate poldek index for %s' % arch
+            print '\ngenerate poldek index for %s' % arch
             if config.poldek_indexes != "old":
                 os.system('%s -s %s%s/%s/RPMS/ --mkidxz --mkidx-type pndir' % (poldek, ftp_dir, tree, arch))
                 if arch != 'noarch' and config.separate_debuginfo:
@@ -82,10 +82,10 @@ if do_yum:
     os.system('set -x; cd %s.stat/repodata && cvs up comps.xml' % ftp_dir)
     yum = '%s.stat/bin/createrepo -d -g %s.stat/repodata/comps.xml' % (ftp_dir, ftp_dir)
     for tree in trees:
-        print '-------------------------- %s --------------------------' % tree
+        print '\n-------------------------- %s --------------------------' % tree
         cachedir = '%s/tmp/createrepo/%s' % (home, tree)
         for arch in all_ftp_archs:
-            print 'generate repodata for %s using createrepo' % arch
+            print '\ngenerate repodata for %s using createrepo' % arch
             # Creating indexes for yum and other supporting xml repodata.
             os.system('time %s --cache %s-%s %s%s/%s/RPMS' % (yum, cachedir, arch, ftp_dir, tree, arch))
             if arch != 'noarch' and config.separate_debuginfo:
@@ -94,10 +94,10 @@ if do_yum:
 if do_rpmrepo:
     os.system('set -x; cd %s.stat/repodata && cvs up comps.xml' % ftp_dir)
     for tree in trees:
-        print '-------------------------- %s --------------------------' % tree
+        print '\n-------------------------- %s --------------------------' % tree
         for arch in all_ftp_archs:
             dir = '%s/%s/%s/RPMS' % (ftp_dir, tree, arch)
-            print 'generate repodata for %s using rpmrepo (in %s)' % (arch, dir)
+            print '\ngenerate 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
This page took 0.043606 seconds and 4 git commands to generate.