Archived
1
0
Fork 0

Install gl-pre-git at the right place

This commit is contained in:
Mercier Pierre-Olivier 2013-10-07 16:42:02 +02:00
parent b126a0400a
commit ad9c91497c
2 changed files with 6 additions and 1 deletions

View file

@ -11,6 +11,8 @@ $ACU::Log::log_file = "/var/log/hooks/" . basename($0) . ".log";
my $ip = $1 if ($ENV{'SSH_CLIENT'} =~ m/([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/);
exit 0 if (!$ip);
log DEBUG, "Connection to $ENV{GL_REPO} from $ip";
# First, check if the repository is in the YYYY/ directory