summaryrefslogtreecommitdiff
path: root/pinyadmin
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2011-05-04 21:31:50 -0700
committerJulian Blake Kongslie <jblake@omgwallhack.org>2011-05-04 21:31:50 -0700
commit7d9e7b8c44c116ab4310231e7adfa7bd80543aa0 (patch)
treeb44520745adb6758f77f0013ce1374a17c2f4357 /pinyadmin
parent49d6d1ccee5263e854224eddb5a010bb7c8c14f5 (diff)
parent4277b3c43a3c8a491974b99ae31e64b8e3c47fb6 (diff)
downloadpiny-code-7d9e7b8c44c116ab4310231e7adfa7bd80543aa0.tar.gz
piny-code-7d9e7b8c44c116ab4310231e7adfa7bd80543aa0.zip
Merge branch 'master' of ssh://piny/srv/git/piny-code
Diffstat (limited to 'pinyadmin')
-rwxr-xr-xpinyadmin/sbin/newrepo2
-rwxr-xr-xpinyadmin/sbin/newuser2
-rwxr-xr-xpinyadmin/sbin/rmrepo2
3 files changed, 3 insertions, 3 deletions
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 ) {