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, master has been updated via 6b8be0883b751292b2c7485ba7f34899a755c05e (commit) from 98dd8fc1a3a295e9e005bf15e51af578932ec95c (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 6b8be0883b751292b2c7485ba7f34899a755c05e Author: Christian Schmidt maniacikarus@ipfire.org Date: Wed Dec 15 18:58:11 2010 +0100
Ensure there is no false array entry inside the backup listing.
-----------------------------------------------------------------------
Summary of changes: html/cgi-bin/backup.cgi | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
Difference in files: diff --git a/html/cgi-bin/backup.cgi b/html/cgi-bin/backup.cgi index e526fc3..fdcac53 100644 --- a/html/cgi-bin/backup.cgi +++ b/html/cgi-bin/backup.cgi @@ -193,7 +193,8 @@ print <<END END ; foreach (@backups){ - chomp($_); +if ( $_ !~ /ipf$/){next;} +chomp($_); my $Datei = "/var/ipfire/backup/".$_; my @Info = stat($Datei); my $Size = $Info[7] / 1024 / 1024; @@ -202,6 +203,7 @@ print "<tr><td align='center'>$Lang::tr{'backup from'} $_ $Lang::tr{'size'} $Siz print "<td width='5'><form method='post' action='$ENV{'SCRIPT_NAME'}'><input type='hidden' name='ACTION' value='delete' /><input type='hidden' name='FILE' value='$_' /><input type='image' alt='$Lang::tr{'delete'}' title='$Lang::tr{'delete'}' src='/images/user-trash.png' /></form></td></tr>"; } foreach (@backupisos){ +if ( $_ !~ /iso$/){next;} chomp($_); my $Datei = "/var/tmp/backupiso/".$_; my @Info = stat($Datei); @@ -325,4 +327,4 @@ END ; &Header::closebox(); &Header::closebigbox(); -&Header::closepage(); +&Header::closepage(); \ No newline at end of file
hooks/post-receive -- IPFire 2.x development tree