Exclude php-horde-horde from Epel

tags/ipasserelle-repo-0.2.16-1
Daniel Berteaud 9 years ago
parent 86b997dffa
commit a658fbd07c
  1. 2
      root/etc/e-smith/db/yum_repositories/defaults/epel/Exclude
  2. 6
      root/etc/e-smith/db/yum_repositories/migrate/12ExcludeEpel

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

@ -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));
}
Loading…
Cancel
Save