From 2d93fcaec5a756d3cec9a188c4bd22fa116df9a1 Mon Sep 17 00:00:00 2001 From: "jrayhawk+piny.be@omgwallhack.org" Date: Wed, 27 Apr 2011 18:49:17 -0700 Subject: Switch rmrepo over to new shortnames --- libpiny/lib/Piny/Repo.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libpiny/lib/Piny/Repo.pm b/libpiny/lib/Piny/Repo.pm index edcc54c..62f3d4d 100644 --- a/libpiny/lib/Piny/Repo.pm +++ b/libpiny/lib/Piny/Repo.pm @@ -324,9 +324,9 @@ sub destroy { my $ikiuser = Piny::User::IkiWiki->new( "name" => "iki-" . $s->name ); - system( "deluser", "--remove-home", $ikiuser->name ); - system( "delgroup", $ikiuser->name ); - system( "delgroup", "git-" . $s->name ); + system( "deluser", "--remove-home", "iki-" . $s->shortname ); + system( "delgroup", "iki-" . $s->shortname ); + system( "delgroup", $s->group->name ); }; -- cgit v1.2.3