From 0e5be768a7128745bd1f4a6a3904eb67a131e719 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Mon, 11 Oct 2010 21:53:06 -0700 Subject: Making libpiny saner This is a rewrite of libpiny to make much better use of Moose, and have a cleaner overall architecture. Signed-off-by: Julian Blake Kongslie --- usr/src/pinyadmin/sbin/addaccess | 2 +- usr/src/pinyadmin/sbin/rmaccess | 2 +- usr/src/pinyadmin/sbin/rmrepo | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'usr/src/pinyadmin/sbin') diff --git a/usr/src/pinyadmin/sbin/addaccess b/usr/src/pinyadmin/sbin/addaccess index 8d0cef9..e351114 100755 --- a/usr/src/pinyadmin/sbin/addaccess +++ b/usr/src/pinyadmin/sbin/addaccess @@ -5,7 +5,7 @@ use warnings; use Piny; -my $env = Piny::Environment->new( ); +my $env = Piny::Environment->instance( ); my ( $reponame, @users ) = @ARGV; diff --git a/usr/src/pinyadmin/sbin/rmaccess b/usr/src/pinyadmin/sbin/rmaccess index f84fba0..d6c22a9 100755 --- a/usr/src/pinyadmin/sbin/rmaccess +++ b/usr/src/pinyadmin/sbin/rmaccess @@ -5,7 +5,7 @@ use warnings; use Piny; -my $env = Piny::Environment->new( ); +my $env = Piny::Environment->instance( ); my ( $reponame, @users ) = @ARGV; diff --git a/usr/src/pinyadmin/sbin/rmrepo b/usr/src/pinyadmin/sbin/rmrepo index 8b26feb..e12a067 100755 --- a/usr/src/pinyadmin/sbin/rmrepo +++ b/usr/src/pinyadmin/sbin/rmrepo @@ -5,7 +5,7 @@ use warnings; use Piny; -my $env = Piny::Environment->new; +my $env = Piny::Environment->instance( ); foreach my $reponame ( @ARGV ) { -- cgit v1.2.3