From 52f1f951e403a86097aa5e5e2eddf4761355d60b Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Sat, 5 Mar 2016 20:08:56 +0200 Subject: mgagit: dont hardcode server, use vhost name --- deployment/mgagit/templates/git-post-receive-hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deployment/mgagit/templates') diff --git a/deployment/mgagit/templates/git-post-receive-hook b/deployment/mgagit/templates/git-post-receive-hook index e5dc5091..6d40af20 100755 --- a/deployment/mgagit/templates/git-post-receive-hook +++ b/deployment/mgagit/templates/git-post-receive-hook @@ -257,7 +257,7 @@ if __name__ == '__main__': pass try: - req = urllib2.Request('http://alamut.mageia.org:8000', repo_shortname() + '.git') + req = urllib2.Request('http://gitweb.mageia.org:8000', repo_shortname() + '.git') req.add_header('Content-Type', 'x-git/repo') fp = urllib2.urlopen(req, timeout=5) if (fp): -- cgit v1.2.1