From 33315ba67aaa322178936870feb3db3789a281bf Mon Sep 17 00:00:00 2001 From: "jrayhawk+piny.be@omgwallhack.org" Date: Wed, 27 Apr 2011 19:54:34 -0700 Subject: Renaming piny.newuseremail to piny.adminemail --- pinyadmin/sbin/newrepo | 2 +- pinyadmin/sbin/newuser | 2 +- pinyadmin/sbin/rmrepo | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'pinyadmin/sbin') diff --git a/pinyadmin/sbin/newrepo b/pinyadmin/sbin/newrepo index a63d96a..0a6cdf0 100755 --- a/pinyadmin/sbin/newrepo +++ b/pinyadmin/sbin/newrepo @@ -45,7 +45,7 @@ while( 1 ) { }; my $config = Piny::Config->new( ); -my $dest = $config->piny_newuseremail; +my $dest = $config->piny_adminemail; unless( open( MAIL, "|/usr/lib/sendmail -t" ) ) { die "Couldn't execute sendmail: $!\n"; diff --git a/pinyadmin/sbin/newuser b/pinyadmin/sbin/newuser index eeb5617..e6dd785 100755 --- a/pinyadmin/sbin/newuser +++ b/pinyadmin/sbin/newuser @@ -127,7 +127,7 @@ if ( not defined $password or $password eq "" ) { print "Password is undefi # Here on down is the actual creation code. my $config = Piny::Config->new( ); -my $dest = $config->piny_newuseremail; +my $dest = $config->piny_adminemail; unless( open( MAIL, "|/usr/lib/sendmail -t" ) ) { die "Couldn't execute sendmail: $!\n"; diff --git a/pinyadmin/sbin/rmrepo b/pinyadmin/sbin/rmrepo index 82df04f..a65146d 100755 --- a/pinyadmin/sbin/rmrepo +++ b/pinyadmin/sbin/rmrepo @@ -8,7 +8,7 @@ use Piny; my $env = Piny::Environment->instance( ); my $config = Piny::Config->new( ); -my $dest = $config->piny_newuseremail; +my $dest = $config->piny_adminemail; foreach my $reponame ( @ARGV ) { -- cgit v1.2.3