From 2f862e33447446116907c60ba1142369f70a99ab Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Wed, 13 Oct 2010 20:43:12 -0700 Subject: Rebuilding repo configs. --- usr/src/pinyadmin/sbin/rebuildrepo | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 usr/src/pinyadmin/sbin/rebuildrepo (limited to 'usr/src/pinyadmin/sbin') diff --git a/usr/src/pinyadmin/sbin/rebuildrepo b/usr/src/pinyadmin/sbin/rebuildrepo new file mode 100755 index 0000000..9d4e359 --- /dev/null +++ b/usr/src/pinyadmin/sbin/rebuildrepo @@ -0,0 +1,14 @@ +#!/usr/bin/perl + +use strict; +use warnings; + +use Piny; + +foreach my $reponame ( @ARGV ) { + + my $repo = Piny::Repo->new( $reponame ); + + $repo->rebuild; + +}; -- cgit v1.2.3