This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, next has been updated via e66d300a43f3effecb740042acad80ff0b3284a1 (commit) from d334d7cb47ad4b55a24d54ff7f7081e9bb60ed1c (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit e66d300a43f3effecb740042acad80ff0b3284a1 Author: Arne Fitzenreiter arne_f@ipfire.org Date: Thu Jan 23 19:21:22 2014 +0100
WebIF: fix gpl accept redirection for elinks.
elinks doesn't like get a 302 redirection after an other.
-----------------------------------------------------------------------
Summary of changes: html/html/index.cgi | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
Difference in files: diff --git a/html/html/index.cgi b/html/html/index.cgi index 81ae7dc..f33f701 100644 --- a/html/html/index.cgi +++ b/html/html/index.cgi @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007-2014 IPFire Team <info@ipfire.org # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -19,5 +19,11 @@ # # ###############################################################################
-print "Status: 302 Moved\n"; +if (! -e "/var/ipfire/main/gpl_accepted" ) { + print "Status: 302 Moved Temporarily\n"; + print "Location: /cgi-bin/gpl.cgi\n\n"; + exit (0); +} + +print "Status: 302 Moved Temporarily\n"; print "Location: /cgi-bin/index.cgi\n\n";
hooks/post-receive -- IPFire 2.x development tree