allow pubkey filename as extra argument to command in authkeys
This commit is contained in:
parent
a64401bd9a
commit
7170ad9124
3 changed files with 43 additions and 4 deletions
|
@ -19,7 +19,7 @@ my $sufile = $rc{SHELL_USERS_LIST} or exit 0;
|
|||
my $aktext = slurp($akfile);
|
||||
|
||||
for my $su ( shell_users() ) {
|
||||
$aktext =~ s(/gitolite-shell $su",(.*?),no-pty )(/gitolite-shell -s $su",$1 );
|
||||
$aktext =~ s(/gitolite-shell $su([" ].*?),no-pty )(/gitolite-shell -s $su$1 );
|
||||
}
|
||||
|
||||
_print( $akfile, $aktext );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue