Skip to content

Instantly share code, notes, and snippets.

@hennevogel
Created August 2, 2018 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hennevogel/54788e29fdd8ad68ca0cf6ac4c7eca16 to your computer and use it in GitHub Desktop.
Save hennevogel/54788e29fdd8ad68ca0cf6ac4c7eca16 to your computer and use it in GitHub Desktop.
our $publish_fvogt = '/srv/obs/bin/publish_fvogt';
our $publish_hennevogel = '/srv/obs/bin/publish_hennevogel';
our $publishedhook = {
};
{
my @all_dists = qw(openSUSE_Leap_15.0 SLE_15);
foreach my $repo (qw(home:fvogt)) {
foreach my $dist (@all_dists) {
$publishedhook->{$repo.'/'.$dist} = $publish_fvogt;
}
}
foreach my $repo (qw(home:hennevogel)) {
foreach my $dist (@all_dists) {
$publishedhook->{$repo.'/'.$dist} = $publish_hennevogel;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment