aboutsummaryrefslogtreecommitdiff
path: root/scripts/maintenance
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-01-23 16:05:59 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-01-23 16:05:59 +0000
commit36d9258c0dbfeab095dc5727b6ebcb55afacb0a6 (patch)
tree9b2883ce615f5cf007f48f1227c9de284f8c05d5 /scripts/maintenance
parent7bc30e1ca8e20ee54175881364663ce5aaf1fa1c (diff)
* Successors have been gone for ages.
Diffstat (limited to 'scripts/maintenance')
-rwxr-xr-xscripts/maintenance/gc-releases.pl3
-rwxr-xr-xscripts/maintenance/shrink-manifest.pl6
2 files changed, 3 insertions, 6 deletions
diff --git a/scripts/maintenance/gc-releases.pl b/scripts/maintenance/gc-releases.pl
index 2bdd154a6..80b2726c5 100755
--- a/scripts/maintenance/gc-releases.pl
+++ b/scripts/maintenance/gc-releases.pl
@@ -8,11 +8,10 @@ use readcache;
# Read the manifests.
my %narFiles;
my %patches;
-my %successors;
foreach my $manifest (@ARGV) {
print STDERR "loading $manifest\n";
- if (readManifest($manifest, \%narFiles, \%patches, \%successors, 1) < 3) {
+ if (readManifest($manifest, \%narFiles, \%patches, 1) < 3) {
# die "manifest `$manifest' is too old (i.e., for Nix <= 0.7)\n";
}
}
diff --git a/scripts/maintenance/shrink-manifest.pl b/scripts/maintenance/shrink-manifest.pl
index 9ceb4af90..7be581448 100755
--- a/scripts/maintenance/shrink-manifest.pl
+++ b/scripts/maintenance/shrink-manifest.pl
@@ -7,11 +7,10 @@ use readcache;
my %allNarFiles;
my %allPatches;
-my %allSuccessors;
foreach my $manifest (glob "/data/webserver/dist/*/*/MANIFEST") {
print STDERR "loading $manifest\n";
- readManifest($manifest, \%allNarFiles, \%allPatches, \%allSuccessors, 1);
+ readManifest($manifest, \%allNarFiles, \%allPatches, 1);
}
@@ -22,9 +21,8 @@ foreach my $manifest (@ARGV) {
my %narFiles;
my %patches;
- my %successors;
- if (readManifest($manifest, \%narFiles, \%patches, \%successors, 1) < 3) {
+ if (readManifest($manifest, \%narFiles, \%patches, 1) < 3) {
print STDERR "manifest `$manifest' is too old (i.e., for Nix <= 0.7)\n";
next;
}