/[smeserver]/builds_bin/update_repos
ViewVC logotype

Diff of /builds_bin/update_repos

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.46 by slords, Tue Jul 1 15:02:43 2008 UTC Revision 1.47 by slords, Sat Jul 26 21:51:03 2008 UTC
# Line 407  foreach my $smever ( sort { $a <=> $b } Line 407  foreach my $smever ( sort { $a <=> $b }
407              print "rebuild $repo/$arch\n";              print "rebuild $repo/$arch\n";
408              unless ( $opts{t} ) {              unless ( $opts{t} ) {
409                  if ( -f "$dir/repodata/comps.xml" ) {                  if ( -f "$dir/repodata/comps.xml" ) {
410                      qx(createrepo -g repodata/comps.xml $dir);                      qx(createrepo --update --database --groupfile repodata/comps.xml $dir);
411                  } else {                  } else {
412                      qx(createrepo $dir);                      qx(createrepo --update --database $dir);
413                  }                  }
414                  qx(repoview $dir);                  qx(repoview $dir);
415                  qx(rm -rf $dir/.olddata) if -d "$dir/.olddata";                  qx(rm -rf $dir/.olddata) if -d "$dir/.olddata";


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed