From: Ian Jackson Date: Sat, 23 Feb 2013 20:07:24 +0000 (+0000) Subject: automatic agpl compliance: fix licence installation to come soon enough X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=cgi-auth-flexible.git;a=commitdiff_plain;h=7722fff31ecfdfb87d0194e933daad9f7d0e7bca;hp=bdeff2796e2bc6ca3d4ada48d8168f48e389d3b3 automatic agpl compliance: fix licence installation to come soon enough --- diff --git a/cgi-auth-flexible.pm b/cgi-auth-flexible.pm index 987170e..d4f248e 100644 --- a/cgi-auth-flexible.pm +++ b/cgi-auth-flexible.pm @@ -383,6 +383,7 @@ sub srcdump_dirscan_prepare ($$) { $dirsdone{$item}++; } close $reportfh or die $!; + srcdump_install($c,$v, $dumpdir, 'licence', 'text/plain'); $!=0; my @cmd = (qw(tar -zvvcf), "$dumpdir/source.tmp", "-C", $dumpdir, qw( --), @srcfiles); @@ -392,7 +393,6 @@ sub srcdump_dirscan_prepare ($$) { die "tar failed"; } die "licence file not found" unless defined $needlicence; - srcdump_install($c,$v, $dumpdir, 'licence', 'text/plain'); srcdump_install($c,$v, $dumpdir, 'source', 'application/octet-stream'); close $lockf or die $!; }