summaryrefslogtreecommitdiffstats
path: root/files/reprepro/snapshots
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2016-11-13 13:23:19 +0000
committerintrigeri <intrigeri@boum.org>2016-11-13 13:23:19 +0000
commit29507e122b8a277550a9315b9b766abecdde857d (patch)
treec49c1dd527c8e44658e0c47e8413a69ae84f602b /files/reprepro/snapshots
parent8fbd3ba7f58f49ad1719cf82b252ffbafc453810 (diff)
Go on fixing stuff for missing APT snapshots. (refs: #11813)
Diffstat (limited to 'files/reprepro/snapshots')
-rwxr-xr-xfiles/reprepro/snapshots/tagged/tails-prepare-tagged-apt-snapshot-import2
1 files changed, 2 insertions, 0 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 c23befc..fc81d59 100755
--- a/files/reprepro/snapshots/tagged/tails-prepare-tagged-apt-snapshot-import
+++ b/files/reprepro/snapshots/tagged/tails-prepare-tagged-apt-snapshot-import
@@ -265,6 +265,8 @@ foreach my $origin (sort keys %{ $data->{origin_references} }) {
# Iterate on all suites, even if empty:
foreach my $suite (@suites) {
+ -d "$reprepro_path/dists/$suite/snapshots/$reference" || next;
+
# Mangle 'wheezy/updates' and friends from security.d.o:
(my $mangled_name = "$origin-$suite") =~ s{/}{_};
my $filterlist_file = "$target_conf/$mangled_name.pkg";