diff --git a/root/etc/e-smith/db/yum_repositories/defaults/epel/Exclude b/root/etc/e-smith/db/yum_repositories/defaults/epel/Exclude index 2cfffd0..50b6288 100644 --- a/root/etc/e-smith/db/yum_repositories/defaults/epel/Exclude +++ b/root/etc/e-smith/db/yum_repositories/defaults/epel/Exclude @@ -1 +1 @@ -gnustep-make,libmemcached,hylafax+ +gnustep-make,libmemcached,hylafax+,php-horde-horde diff --git a/root/etc/e-smith/db/yum_repositories/migrate/12ExcludeEpel b/root/etc/e-smith/db/yum_repositories/migrate/12ExcludeEpel new file mode 100644 index 0000000..763cd57 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/migrate/12ExcludeEpel @@ -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)); +}