summaryrefslogtreecommitdiffstats
path: root/files/reprepro/snapshots
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2016-11-13 12:41:41 +0000
committerintrigeri <intrigeri@boum.org>2016-11-13 12:42:41 +0000
commitd9df8eb994554f7983b88c0eabe7d9f00a9d7b8b (patch)
treefe694528a9fc6127b214fe7fcf2258b65f19f0db /files/reprepro/snapshots
parent14ab31b50f4928ad87f753512a95aa208d443525 (diff)
tails-prepare-tagged-apt-snapshot-import: turn "missing snapshot detected" into a non-fatal warning. (refs: #11813)
Worst case, if there's really a problem, it will trigger a "some packages were not found anywhere" error and we'll notice it.
Diffstat (limited to 'files/reprepro/snapshots')
-rwxr-xr-xfiles/reprepro/snapshots/tagged/tails-prepare-tagged-apt-snapshot-import2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/reprepro/snapshots/tagged/tails-prepare-tagged-apt-snapshot-import b/files/reprepro/snapshots/tagged/tails-prepare-tagged-apt-snapshot-import
index db37fa6..731623e 100755
--- a/files/reprepro/snapshots/tagged/tails-prepare-tagged-apt-snapshot-import
+++ b/files/reprepro/snapshots/tagged/tails-prepare-tagged-apt-snapshot-import
@@ -226,7 +226,7 @@ foreach my $origin (sort keys %{ $data->{origin_references} }) {
(my $suite_name = $suite_dir) =~ s{$reprepro/dists/}{};
my $suite_path = "$suite_dir/snapshots/$reference";
if (! -d $suite_path ) {
- die "E: missing snapshot detected ($suite_path)\n";
+ print "W: missing snapshot detected ($suite_path)\n";
}
my ($binaries_ref, $sources_ref) = get_binaries_and_source_mapping($suite_path, [@archs], [@components]);
my @all_sources = ($seen{source} && origin_has_source($origin)) ? get_sources($suite_path, [@archs], [@components]) : ();