summaryrefslogtreecommitdiffstats
path: root/files/reprepro/snapshots
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2016-05-06 15:37:11 +0000
committerintrigeri <intrigeri@boum.org>2016-05-06 15:37:11 +0000
commite5ca904670cab3fe97433c73d9200cd536383173 (patch)
tree2e57f48399eeb7eb930f5b9a8add249642ef31b0 /files/reprepro/snapshots
parent63ad6f5984744afee86dca507a6f0a2c8e1575fd (diff)
TODO++
Diffstat (limited to 'files/reprepro/snapshots')
-rwxr-xr-xfiles/reprepro/snapshots/time_based/tails-delete-expired-apt-snapshots1
1 files changed, 1 insertions, 0 deletions
diff --git a/files/reprepro/snapshots/time_based/tails-delete-expired-apt-snapshots b/files/reprepro/snapshots/time_based/tails-delete-expired-apt-snapshots
index aadd9ea..99be045 100755
--- a/files/reprepro/snapshots/time_based/tails-delete-expired-apt-snapshots
+++ b/files/reprepro/snapshots/time_based/tails-delete-expired-apt-snapshots
@@ -89,6 +89,7 @@ foreach my $dir (@snapshots_dirs) {
# on the current reprepro configuration (Jessie/updates is a bit
# special, and might not be handled perfectly):
my $suite = $dir;
+ # XXX: anchor these two regexps?
$suite =~ s{ $archive_dir/dists/ }{}x;
$suite =~ s{/snapshots}{};