Exclude php-horde-horde from Epel

This commit is contained in:
Daniel Berteaud 2015-11-23 09:20:19 +01:00
parent 86b997dffa
commit a658fbd07c
2 changed files with 7 additions and 1 deletions

View File

@ -1 +1 @@
gnustep-make,libmemcached,hylafax+
gnustep-make,libmemcached,hylafax+,php-horde-horde

View File

@ -0,0 +1,6 @@
{
my $repo = $DB->get("epel") or return '';
my @exclude = split /[;,]/, ($repo->prop('Exclude') || '');
push @exclude, 'php-horde-horde' unless (grep {$_ eq 'php-horde-horde'} @exclude);
$repo->set_prop('Exclude', join(',', @exclude));
}