From dc4f32b14e94bc8a03d6f552c345ba93370ca48a Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Wed, 26 Aug 2009 07:05:04 +0530 Subject: [PATCH] backward compat for marker lines in authkeys --- gl-compile-conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl-compile-conf b/gl-compile-conf index a3ae0d0..76c4239 100755 --- a/gl-compile-conf +++ b/gl-compile-conf @@ -208,7 +208,7 @@ open my $newkeys_fh, ">", $ENV{HOME} . "/.ssh/new_authkeys" # save existing authkeys minus the GL-added stuff while (<$authkeys_fh>) { - print $newkeys_fh $_ unless (/^# gitolite start/../^# gitolite end/); + print $newkeys_fh $_ unless (/^# gito(sis-)?lite start/../^# gito(sis-)?lite end/); } # add our "start" line, each key on its own line (prefixed by command and