Fill in the master_sites* columns of the sqlports.ports table.

From espie@, after a short discussion on icb.
This commit is contained in:
kili 2011-11-26 22:30:30 +00:00
parent e4f1b118ab
commit 0132b0aa29
2 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.36 2011/09/24 07:37:34 espie Exp $
# $OpenBSD: Makefile,v 1.37 2011/11/26 22:30:30 kili Exp $
CATEGORIES = databases
V = 1.18
V = 1.19
DISTNAME = sqlports-$V
DISTFILES =
COMMENT = sqlite database of ports

View File

@ -1,4 +1,4 @@
# $OpenBSD: Var.pm,v 1.11 2011/04/10 18:01:13 jasper Exp $
# $OpenBSD: Var.pm,v 1.12 2011/11/26 22:30:30 kili Exp $
#
# Copyright (c) 2006-2010 Marc Espie <espie@openbsd.org>
#
@ -330,6 +330,7 @@ sub table() { 'MasterSites' }
sub add
{
my ($self, $ins) = @_;
$self->AnyVar::add($ins);
my $n;
if ($self->var =~ m/^MASTER_SITES(\d)$/) {