summaryrefslogtreecommitdiff
path: root/libpiny
diff options
context:
space:
mode:
authorjrayhawk+piny.be@omgwallhack.org <jrayhawk+piny.be@omgwallhack.org>2011-04-27 18:49:17 -0700
committerjrayhawk+piny.be@omgwallhack.org <jrayhawk+piny.be@omgwallhack.org>2011-04-27 18:49:17 -0700
commit2d93fcaec5a756d3cec9a188c4bd22fa116df9a1 (patch)
treedb8a7642b1e2cfdea9b727bebf3620ccc33432fd /libpiny
parente220c2c38d7997c628ab015ba2049f2bfe633e90 (diff)
downloadpiny-code-2d93fcaec5a756d3cec9a188c4bd22fa116df9a1.tar.gz
piny-code-2d93fcaec5a756d3cec9a188c4bd22fa116df9a1.zip
Switch rmrepo over to new shortnames
Diffstat (limited to 'libpiny')
-rw-r--r--libpiny/lib/Piny/Repo.pm6
1 files 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 );
};