public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. e66d300a43f3effecb740042acad80ff0b3284a1
Date: Thu, 23 Jan 2014 19:24:45 +0100	[thread overview]
Message-ID: <20140123182445.7AF0820ABD@argus.ipfire.org> (raw)

[-- 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

                 reply	other threads:[~2014-01-23 18:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140123182445.7AF0820ABD@argus.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox