public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. e66d300a43f3effecb740042acad80ff0b3284a1
@ 2014-01-23 18:24 git
  0 siblings, 0 replies; only message in thread
From: git @ 2014-01-23 18:24 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 2391 bytes --]

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(a)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(a)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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-23 18:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-23 18:24 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. e66d300a43f3effecb740042acad80ff0b3284a1 git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox